[kudu-CR] KUDU-2229. consensus: Leader should not start FD
Adar Dembo has posted comments on this change. ( http://gerrit.cloudera.org:8080/8711 ) Change subject: KUDU-2229. consensus: Leader should not start FD .. Patch Set 4: (1 comment) http://gerrit.cloudera.org:8080/#/c/8711/4/src/kudu/rpc/periodic.h File src/kudu/rpc/periodic.h: http://gerrit.cloudera.org:8080/#/c/8711/4/src/kudu/rpc/periodic.h@144 PS4, Line 144: // Returns true iff the failure detected has been started. FWIW, this comment is wrong: it refers to failure detection rather than to this generic periodic timer system. -- To view, visit http://gerrit.cloudera.org:8080/8711 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: Ie2ec9c5499e8e4c1659333bd53dd2d7f6dae81f5 Gerrit-Change-Number: 8711 Gerrit-PatchSet: 4 Gerrit-Owner: Mike PercyGerrit-Reviewer: Adar Dembo Gerrit-Reviewer: Alexey Serbin Gerrit-Reviewer: Kudu Jenkins Gerrit-Reviewer: Mike Percy Gerrit-Comment-Date: Wed, 03 Jan 2018 18:51:52 + Gerrit-HasComments: Yes
[kudu-CR] KUDU-2229. consensus: Leader should not start FD
Alexey Serbin has submitted this change and it was merged. ( http://gerrit.cloudera.org:8080/8711 ) 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 SerbinTested-by: Kudu Jenkins --- 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/8711 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: merged Gerrit-Change-Id: Ie2ec9c5499e8e4c1659333bd53dd2d7f6dae81f5 Gerrit-Change-Number: 8711 Gerrit-PatchSet: 4 Gerrit-Owner: Mike Percy Gerrit-Reviewer: Alexey Serbin Gerrit-Reviewer: Kudu Jenkins Gerrit-Reviewer: Mike Percy
[kudu-CR] KUDU-2229. consensus: Leader should not start FD
Alexey Serbin has posted comments on this change. ( http://gerrit.cloudera.org:8080/8711 ) Change subject: KUDU-2229. consensus: Leader should not start FD .. Patch Set 3: Code-Review+2 -- To view, visit http://gerrit.cloudera.org:8080/8711 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: Ie2ec9c5499e8e4c1659333bd53dd2d7f6dae81f5 Gerrit-Change-Number: 8711 Gerrit-PatchSet: 3 Gerrit-Owner: Mike PercyGerrit-Reviewer: Alexey Serbin Gerrit-Reviewer: Kudu Jenkins Gerrit-Reviewer: Mike Percy Gerrit-Comment-Date: Fri, 01 Dec 2017 22:25:09 + Gerrit-HasComments: No
[kudu-CR] KUDU-2229. consensus: Leader should not start FD
Hello Alexey Serbin, Kudu Jenkins, I'd like you to reexamine a change. Please visit http://gerrit.cloudera.org:8080/8711 to look at the new patch set (#3). 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 --- 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(-) git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/11/8711/3 -- To view, visit http://gerrit.cloudera.org:8080/8711 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: newpatchset Gerrit-Change-Id: Ie2ec9c5499e8e4c1659333bd53dd2d7f6dae81f5 Gerrit-Change-Number: 8711 Gerrit-PatchSet: 3 Gerrit-Owner: Mike PercyGerrit-Reviewer: Alexey Serbin Gerrit-Reviewer: Kudu Jenkins Gerrit-Reviewer: Mike Percy
[kudu-CR] KUDU-2229. consensus: Leader should not start FD
Alexey Serbin has posted comments on this change. ( http://gerrit.cloudera.org:8080/8711 ) Change subject: KUDU-2229. consensus: Leader should not start FD .. Patch Set 2: Code-Review+2 -- To view, visit http://gerrit.cloudera.org:8080/8711 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: Ie2ec9c5499e8e4c1659333bd53dd2d7f6dae81f5 Gerrit-Change-Number: 8711 Gerrit-PatchSet: 2 Gerrit-Owner: Mike PercyGerrit-Reviewer: Alexey Serbin Gerrit-Reviewer: Kudu Jenkins Gerrit-Reviewer: Mike Percy Gerrit-Comment-Date: Fri, 01 Dec 2017 21:35:44 + Gerrit-HasComments: No
[kudu-CR] KUDU-2229. consensus: Leader should not start FD
Mike Percy has posted comments on this change. ( http://gerrit.cloudera.org:8080/8711 ) Change subject: KUDU-2229. consensus: Leader should not start FD .. Patch Set 2: (2 comments) http://gerrit.cloudera.org:8080/#/c/8711/1/src/kudu/integration-tests/raft_consensus_failure_detector-imc-itest.cc File src/kudu/integration-tests/raft_consensus_failure_detector-imc-itest.cc: http://gerrit.cloudera.org:8080/#/c/8711/1/src/kudu/integration-tests/raft_consensus_failure_detector-imc-itest.cc@59 PS1, Line 59: if (!AllowSlowTests()) { > nit: mind outputting a actionable message in that case, like Done http://gerrit.cloudera.org:8080/#/c/8711/1/src/kudu/integration-tests/raft_consensus_failure_detector-imc-itest.cc@104 PS1, Line 104: , tablet_id, kTime > nit: the sentence seems incomplete thanks for the catch -- To view, visit http://gerrit.cloudera.org:8080/8711 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: Ie2ec9c5499e8e4c1659333bd53dd2d7f6dae81f5 Gerrit-Change-Number: 8711 Gerrit-PatchSet: 2 Gerrit-Owner: Mike PercyGerrit-Reviewer: Alexey Serbin Gerrit-Reviewer: Kudu Jenkins Gerrit-Reviewer: Mike Percy Gerrit-Comment-Date: Fri, 01 Dec 2017 21:26:23 + Gerrit-HasComments: Yes
[kudu-CR] KUDU-2229. consensus: Leader should not start FD
Hello Alexey Serbin, Kudu Jenkins, I'd like you to reexamine a change. Please visit http://gerrit.cloudera.org:8080/8711 to look at the new patch set (#2). 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 --- 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, 204 insertions(+), 22 deletions(-) git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/11/8711/2 -- To view, visit http://gerrit.cloudera.org:8080/8711 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: newpatchset Gerrit-Change-Id: Ie2ec9c5499e8e4c1659333bd53dd2d7f6dae81f5 Gerrit-Change-Number: 8711 Gerrit-PatchSet: 2 Gerrit-Owner: Mike PercyGerrit-Reviewer: Alexey Serbin Gerrit-Reviewer: Kudu Jenkins
[kudu-CR] KUDU-2229. consensus: Leader should not start FD
Alexey Serbin has posted comments on this change. ( http://gerrit.cloudera.org:8080/8711 ) Change subject: KUDU-2229. consensus: Leader should not start FD .. Patch Set 1: Code-Review+1 (2 comments) looks good, just some nits http://gerrit.cloudera.org:8080/#/c/8711/1/src/kudu/integration-tests/raft_consensus_failure_detector-imc-itest.cc File src/kudu/integration-tests/raft_consensus_failure_detector-imc-itest.cc: http://gerrit.cloudera.org:8080/#/c/8711/1/src/kudu/integration-tests/raft_consensus_failure_detector-imc-itest.cc@59 PS1, Line 59: if (!AllowSlowTests()) return; nit: mind outputting a actionable message in that case, like if (!AllowSlowTests()) { LOG(INFO) << "Skipping test in fast-test mode."; return; } Otherwise, it might take some time understanding the test was not run. http://gerrit.cloudera.org:8080/#/c/8711/1/src/kudu/integration-tests/raft_consensus_failure_detector-imc-itest.cc@104 PS1, Line 104: is consistent with nit: the sentence seems incomplete -- To view, visit http://gerrit.cloudera.org:8080/8711 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: Ie2ec9c5499e8e4c1659333bd53dd2d7f6dae81f5 Gerrit-Change-Number: 8711 Gerrit-PatchSet: 1 Gerrit-Owner: Mike PercyGerrit-Reviewer: Alexey Serbin Gerrit-Reviewer: Kudu Jenkins Gerrit-Comment-Date: Fri, 01 Dec 2017 21:09:28 + Gerrit-HasComments: Yes
[kudu-CR] KUDU-2229. consensus: Leader should not start FD
Hello Alexey Serbin, I'd like you to do a code review. Please visit http://gerrit.cloudera.org:8080/8711 to review the following change. 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 --- 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, 199 insertions(+), 22 deletions(-) git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/11/8711/1 -- To view, visit http://gerrit.cloudera.org:8080/8711 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: Ie2ec9c5499e8e4c1659333bd53dd2d7f6dae81f5 Gerrit-Change-Number: 8711 Gerrit-PatchSet: 1 Gerrit-Owner: Mike PercyGerrit-Reviewer: Alexey Serbin