2 ms·
It really looks like such a repack ought to be possible in a lockless incremental way. Simply take a snapshot of all the objects in the repo, repack them, and
by londons_explore 6y ago
It really looks like such a repack ought to be possible in a lockless incremental way. Simply take a snapshot of all the objects in the repo, repack them, and then take a new snapshot of the repo, repack the new objects, and repeat until there is nothing new.
Most repos could be done in one operation, and If bet that as long as repos stay under 10 commits per second this strategy will always terminate.