Page MenuHomePhabricator

remotefilelog: move remofilelog prefetching to the separate function

Authored by stash on Sep 28 2017, 1:03 PM.



The goal of the whole series is to have logging around linknode fixup. It's a slow operation, and we have two heuristics to make it faster. Unfortunately we have no idea about how well these heuristics actually help. This series of diffs aims to fix this problem. After this series is landed and logging is enabled, I hope that we can find out if we really these heuristics at all.

In the next diffs I'll add more logging around remotefilelog prefetching.
In this diff let's move it to the separate function.

Test Plan

Run test-remotefilelog-linknodes.t

Diff Detail

rFBHGX Facebook Mercurial Extensions
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

stash created this revision.Sep 28 2017, 1:03 PM
stash edited the summary of this revision. (Show Details)Sep 28 2017, 1:10 PM
quark accepted this revision.Sep 29 2017, 9:51 PM
This revision is now accepted and ready to land.Sep 29 2017, 9:51 PM
This revision was automatically updated to reflect the committed changes.