implement aggregate_locking design
authorJoey Hess <joey@kodama.kitenet.net>
Sun, 3 Feb 2008 21:48:26 +0000 (16:48 -0500)
committerJoey Hess <joey@kodama.kitenet.net>
Sun, 3 Feb 2008 21:48:26 +0000 (16:48 -0500)
commit9d54cc4659248f9820f47a021b694405d75404a8
tree6d2b775006630ace819299997312f10b979e7ff4
parent38affb0c1c4e2b89beb63d6f8dc3f172eee7bd02
implement aggregate_locking design

Now aggregation will not lock the wiki. Any changes made during aggregaton are
merged in with the changed state accumulated while aggregating. A separate
lock file prevents multiple concurrent aggregators. Garbage collection
of orphaned guids is much improved. loadstate() is only called once
per process, so tricky support for reloading wiki state is not needed.

(Tested fairly thuroughly.)
IkiWiki/Plugin/aggregate.pm
debian/changelog
doc/todo/aggregate_locking.mdwn
po/ikiwiki.pot