This is an automated email from the ASF dual-hosted git repository.
alexey pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kudu.git
The following commit(s) were added to refs/heads/master by this push:
new 0a8c84a [consensus] --evict_failed_followers is a runtime flag
0a8c84a is described below
commit 0a8c84a53b4bbe916f9afca3280eb863840ece2a
Author: Alexey Serbin <[email protected]>
AuthorDate: Wed May 26 17:20:45 2021 -0700
[consensus] --evict_failed_followers is a runtime flag
Current implementation of Raft consensus treats --evict_failed_followers
as a runtime flag. This patch adds corresponding tag for the flag.
Change-Id: Ia7ff0c4097df72c3a2d43ee166e29af5f67b5687
Reviewed-on: http://gerrit.cloudera.org:8080/17522
Tested-by: Kudu Jenkins
Reviewed-by: Bankim Bhavsar <[email protected]>
---
src/kudu/consensus/raft_consensus.cc | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/kudu/consensus/raft_consensus.cc
b/src/kudu/consensus/raft_consensus.cc
index 7849c6d..c093969 100644
--- a/src/kudu/consensus/raft_consensus.cc
+++ b/src/kudu/consensus/raft_consensus.cc
@@ -101,6 +101,7 @@ DEFINE_bool(evict_failed_followers, true,
"unreachable by the leader for longer than "
"follower_unavailable_considered_failed_sec");
TAG_FLAG(evict_failed_followers, advanced);
+TAG_FLAG(evict_failed_followers, runtime);
DEFINE_bool(follower_reject_update_consensus_requests, false,
"Whether a follower will return an error for all UpdateConsensus()
requests. "