Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix #803: Add "follower_mode" to the config
Peers configured with follower_mode = true fail to add/pin/unpin. Additionally they do not contact other peers when doing Status, Sync or Recover and report on themselves. They still contact other peers when doing "peers ls", as this is an OpenRPC endpoint. This is merely improving user interaction with a cluster peer and avoids getting into confusing places: * pin/unpin seems to work even no one trusts them * status will query all peers in the peerset only to get auth errors and ignore them, becoming way slower than it could be This is not a security feature.
- Loading branch information
Showing
4 changed files
with
130 additions
and
8 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