( )⚙ D11265 debugrebuildfncache: add a cheaper option to rebuild the fncache

This is an archive of the discontinued Mercurial Phabricator instance.

debugrebuildfncache: add a cheaper option to rebuild the fncache
ClosedPublic

Authored by valentin.gatienbaron on Aug 6 2021, 4:44 PM.

Details

Summary

On my repository, debugrebuildfncache takes 5-10min with the lock.

With the flag added in this commit, it takes 10s. The tradeoff is that
it only recovers from certain kinds of corruptions. It is intended to
to recover faster from fncaches broken by a revlog split during a
transaction that ends up being rolled back.

Diff Detail

Repository
rHG Mercurial
Branch
default
Lint
No Linters Available
Unit
No Unit Test Coverage