sapling/remotefilelog
Durham Goode b6871085ab repack: add incremental repacking for history packs
Summary:
Previously we only had incremental repacking for data packs. This patch adds it
for history packs as well. The algorithm here is simpler, since the amount of
history data is generally much smaller than the amount of delta data.

The algorithm is basically: if there are 2 things bigger than 100MB, repack
them; else repack up to 100MB of smaller things.

The datapack hashes changed because having the history available during a repack
allows us to make different decisions about delta ordering, etc.

Test Plan: Updated the tsets

Reviewers: mitrandir, #mercurial, ttung, rmcelroy

Reviewed By: rmcelroy

Subscribers: rmcelroy

Differential Revision: https://phabricator.intern.facebook.com/D3306535

Signature: t1:3306535:1463696613:f40ed10c9dfed40d7bc455582592a7aed108ec3a
2016-05-20 09:31:31 -07:00
..
__init__.py repack: add automatic incremental background repacking after pull 2016-05-20 09:31:28 -07:00
basestore.py windows: chmod file to be writable before deleting 2016-05-20 08:37:49 -07:00
cacheclient.py checkcode: fix errors in cacheclient and debugcommands 2016-04-26 13:00:31 -07:00
constants.py store: basic wire protocol for bundle delivery 2016-05-16 10:59:09 -07:00
contentstore.py store: force remote stores to always check the shared cache 2016-05-16 10:59:09 -07:00
datapack.py packs: prevent creation of empty packs 2016-05-20 09:31:19 -07:00
debugcommands.py repack: add automatic incremental background repacking after pull 2016-05-20 09:31:28 -07:00
fileserverclient.py windows: grp module not supported 2016-05-20 08:08:57 -07:00
historypack.py packs: prevent creation of empty packs 2016-05-20 09:31:19 -07:00
metadatastore.py store: force remote stores to always check the shared cache 2016-05-16 10:59:09 -07:00
remotefilectx.py checkcode: fix remotefilectx and remotefilelog 2016-04-26 13:00:31 -07:00
remotefilelog.py checkcode: fix remotefilectx and remotefilelog 2016-04-26 13:00:31 -07:00
remotefilelogserver.py store: basic wire protocol for bundle delivery 2016-05-16 10:59:09 -07:00
repack.py repack: add incremental repacking for history packs 2016-05-20 09:31:31 -07:00
shallowbundle.py shallowbundle: fix broken fallback orig call 2016-04-28 17:34:08 -07:00
shallowrepo.py repack: don't require complete history during data repack 2016-05-16 10:59:09 -07:00
shallowstore.py Add more comments explaining various complexities 2013-11-05 17:19:59 -08:00
shallowutil.py util: close temporary file descriptor 2016-05-20 08:41:04 -07:00
shallowverifier.py remotefilelog: removing filelog check from verification process 2016-01-07 16:57:39 -08:00