forked from facebook/kuduraft
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a counter to check RPC mismatches
Summary: Mismatches will bump the counter even if we're not enforcing. Proxies are a bit tricky, and currently they bump counters on both the proxy and the origin. This is because at the consensus_peers layer we don't differentiate between proxies and origins. I still think it's ok because we are aiming to get the counter totally to 0. Any value above 1 is bad anyway. Test Plan: Reviewers: Subscribers: Tasks: Tags: Signed-off-by: Yichen <[email protected]>
- Loading branch information
1 parent
449b069
commit 917e86a
Showing
5 changed files
with
72 additions
and
29 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
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