Commit Graph

2 Commits (23255257134b1abd662503e5ca63b17beeac39ed)

Author SHA1 Message Date
Joey Hess 9d54cc4659 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.)
2008-02-03 16:48:26 -05:00
Joey Hess 6afbd9939a late night thoughts on fixing aggregation locking
(still seem to make sense this morning)
2008-02-03 13:56:10 -05:00