gc.sh: force a single small pack to redelta before a full gc
commit7c838c0fcd13220c2574e227ab105efcd3c7bffa
authorKyle J. McKay <mackyle@gmail.com>
Tue, 12 Jul 2016 14:08:59 +0000 (12 07:08 -0700)
committerKyle J. McKay <mackyle@gmail.com>
Tue, 12 Jul 2016 14:08:59 +0000 (12 07:08 -0700)
tree5a0c6949d3f1d074ff8cd8fae02d4ed8757cf541
parent59df02c37f51a33e1f8b7dc4097fea758dc345dd
gc.sh: force a single small pack to redelta before a full gc

When combine_small_packs is run immediately before a full gc (either
because there are more than $var_redelta_threshold objects or because
there are forks that need to receive the more optimally repacked pack(s)),
force a single small pack to undergo redeltification to avoid carrying
forward suboptimal deltas.

Signed-off-by: Kyle J. McKay <mackyle@gmail.com>
jobd/gc.sh