sapling/edenscm/mercurial/commands
Xavier Deguillard a3360b4cde remotefilelog: automatically repack when many transaction are commited
Summary:
We've seen several cases where the number of packfiles explodes and causes
Mercurial to slowly becoming unusable due to spending most of its time scanning
the filesytem for new packfiles. In the case of tree, Mercurial will blow aways
the hgcache/manifest directory entirely, causing concurrent Mercurial processes
to fail to commit packfiles to disk.

Let's just count the number of commits we've had so far, and trigger a repack
when it goes over a threshold.

Reviewed By: quark-zju

Differential Revision: D17677222

fbshipit-source-id: 99c31c6137d792be1f6de3c298ebff8a4372926e
2019-10-01 14:34:04 -07:00
..
__init__.py phases: point out manual edits are no-ops if narrow-heads is enabled 2019-09-27 17:24:00 -07:00
blackbox.py blackbox: change session id to u64 2019-07-06 02:46:16 -07:00
cmdtable.py commands: move commands.table to a separate module 2019-06-07 10:14:16 -07:00
debug.py use pycompat.range instead of xrange 2019-09-26 15:29:48 -07:00
debugcheckoutidentifier.py commands: move commands.table to a separate module 2019-06-07 10:14:16 -07:00
debugmutation.py debugmutation: don't use the unfiltered repo by default 2019-09-06 00:44:13 -07:00
debugrunshell.py commands: add a way to run shell commands 2019-08-19 19:27:27 -07:00
debugstatus.py commands: move commands.table to a separate module 2019-06-07 10:14:16 -07:00
debugstrip.py commands: move commands.table to a separate module 2019-06-07 10:14:16 -07:00
eden.py remotefilelog: automatically repack when many transaction are commited 2019-10-01 14:34:04 -07:00
fs.py commands: move commands.table to a separate module 2019-06-07 10:14:16 -07:00
uncommit.py commands: move commands.table to a separate module 2019-06-07 10:14:16 -07:00