diff options
author | Hector Caballero <hector.caballero@ericsson.com> | 2017-11-03 14:39:37 -0400 |
---|---|---|
committer | Hector Oswaldo Caballero <hector.caballero@ericsson.com> | 2017-11-24 05:13:24 -0500 |
commit | bac4d32d39abc6fb9af61628adbed139ea442ee9 (patch) | |
tree | 7788a3a2fe8143cefe2e179046228f05348f4ba2 /pom.xml | |
parent | 03abd1dff21263a92ccf02e4178daef299398be2 (diff) | |
download | jgit-bac4d32d39abc6fb9af61628adbed139ea442ee9.tar.gz jgit-bac4d32d39abc6fb9af61628adbed139ea442ee9.zip |
GC: Delete stale temporary packs and indexes
When a GC operation is interrupted, temporary packs and indexes can be
left on the pack folder. In big, busy repositories this can lead to
significant amounts of wasted disk space if this interruption is done
with a certain frequency.
Remove stale temporary packs and indexes at the end of the GC process so
they do not accumulate. To avoid interfering with a possible concurrent
JGit GC process in the same repository, only delete temporary files that
are older than one day.
Change-Id: If9b6c1e57fac8a6a0ecc0a703089634caba4caae
Signed-off-by: Hector Caballero <hector.caballero@ericsson.com>
Diffstat (limited to 'pom.xml')
0 files changed, 0 insertions, 0 deletions