-
Notifications
You must be signed in to change notification settings - Fork 295
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cas: fix metric accounting for duplicate keys
Summary: If multiple `(path, node)` keys map to the same CAS digest, we were recording the number of digests as "fetch" (i.e. attempt) count, but the number of keys as the "hit" count. This could lead to hit count greater than fetch count. Fix by recording the number of keys as "fetch" count. Reviewed By: liubov-dmitrieva Differential Revision: D65067201 fbshipit-source-id: 7db173e8de7d41787f78beb5e9342d90e6331adc
- Loading branch information
1 parent
5315a47
commit e33e64f
Showing
3 changed files
with
24 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters