Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
Description
FileStore#cleanup would be more efficient when getting rid of as much references as possibly beforehand. Excess references are contributed by the current TarWriter instance and segment cache in SegmentTracker.
Those excess references turn out to be especially harmful with many concurrent writers continuously writing to the repository. Starting with a certain write load clean up will become completely blocked.