HomePhabricator

remotefilelog: move fastlog logging inside _linknodeviafastlog

Authored by stash.

Description

remotefilelog: move fastlog logging inside _linknodeviafastlog

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.

Let's store all the fastlog logging inside fastlog function. This refactoring helps in the next diffs

Test Plan: Run test-remotefilelog-linknodes.t

Reviewers: #fbhgext, quark

Reviewed By: #fbhgext, quark

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

Details

Committed
stashOct 1 2017, 8:45 AM
Reviewer
Restricted Project
Differential Revision
D836: remotefilelog: move fastlog logging inside _linknodeviafastlog
Parents
rFBHGX12a5b29086f8: remotefilelog: change the name of logging category
Branches
Unknown
Tags
Unknown