Mike Percy has submitted this change and it was merged. ( http://gerrit.cloudera.org:8080/8732 )
Change subject: KUDU-2229. consensus: Leader should not start FD ...................................................................... KUDU-2229. consensus: Leader should not start FD This patch fixes a log spam issue caused by commit 28a671365d6d38da966481daf937b3776e3d4852 that erroneously enables the failure detector on the leader when a configuration takes place. That bug had no consensus safety implications, but it did generate a large volume of confusing log messages in a neverending loop. This patch also includes some minor updates to InternalMiniCluster for convenience purposes. Change-Id: Ie2ec9c5499e8e4c1659333bd53dd2d7f6dae81f5 Reviewed-on: http://gerrit.cloudera.org:8080/8711 Reviewed-by: Alexey Serbin <[email protected]> Tested-by: Kudu Jenkins Reviewed-on: http://gerrit.cloudera.org:8080/8732 --- M src/kudu/consensus/raft_consensus.cc M src/kudu/consensus/raft_consensus.h M src/kudu/integration-tests/CMakeLists.txt A src/kudu/integration-tests/raft_consensus_failure_detector-imc-itest.cc M src/kudu/mini-cluster/external_mini_cluster.h M src/kudu/mini-cluster/internal_mini_cluster.cc M src/kudu/mini-cluster/internal_mini_cluster.h M src/kudu/mini-cluster/mini_cluster.h M src/kudu/rpc/periodic.cc M src/kudu/rpc/periodic.h 10 files changed, 206 insertions(+), 22 deletions(-) Approvals: Alexey Serbin: Looks good to me, approved Kudu Jenkins: Verified -- To view, visit http://gerrit.cloudera.org:8080/8732 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: branch-1.6.x Gerrit-MessageType: merged Gerrit-Change-Id: Ie2ec9c5499e8e4c1659333bd53dd2d7f6dae81f5 Gerrit-Change-Number: 8732 Gerrit-PatchSet: 2 Gerrit-Owner: Mike Percy <[email protected]> Gerrit-Reviewer: Alexey Serbin <[email protected]> Gerrit-Reviewer: Kudu Jenkins Gerrit-Reviewer: Mike Percy <[email protected]>
