Page MenuHomePhabricator

cache: avoid warming the fnodetags cache after clone
ClosedPublic

Authored by marmoute on May 7 2021, 5:31 AM.

Details

Summary

That cache can quite expensive to compute on large repository as not that `hg
clone` is warming all cache, this can introduces a significant slowdown for
clone time[1]. As a stop gap measure introduce a quick fix for
that on stable, skipping the fnodetags cache post-clone.

[1] https://www.mercurial-scm.org/pipermail/mercurial/2021-April/052679.html

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

marmoute created this revision.May 7 2021, 5:31 AM
baymax updated this revision to Diff 27966.May 17 2021, 4:27 AM

✅ refresh by Heptapod after a successful CI run (🐙 💚)
⚠ This patch is intended for stable ⚠

Alphare accepted this revision.May 17 2021, 5:09 AM
This revision is now accepted and ready to land.May 17 2021, 5:09 AM
This revision was automatically updated to reflect the committed changes.