HomePhabricator

remotefilelog: move remofilelog prefetching to the separate function

Authored by stash.

Description

remotefilelog: move remofilelog prefetching to the separate function

Summary:
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

Reviewers: #fbhgext, quark

Reviewed By: #fbhgext, quark

Differential Revision: https://phab.mercurial-scm.org/D840

Details

Committed
stashOct 1 2017, 8:45 AM
Reviewer
Restricted Project
Differential Revision
D840: remotefilelog: move remofilelog prefetching to the separate function
Parents
rFBHGXf629119c6242: remotefilelog: time fastlog requests
Branches
Unknown
Tags
Unknown