Alexey Serbin has uploaded this change for review. (
http://gerrit.cloudera.org:8080/16601
Change subject: [kudu-admin-test] fix
TestUnsafeChangeConfigWithFiveReplicaConfig
......................................................................
[kudu-admin-test] fix TestUnsafeChangeConfigWithFiveReplicaConfig
I saw the AdminCliTest.TestUnsafeChangeConfigWithFiveReplicaConfig
scenario failing pre-commit TSAN build [1] with the error like below:
Timed out: Committed consensus opid_index does not equal 1
after waiting for 30.014s. Last opid: 2.2
As I understand, the reason for failing the assertion is an extra
election round that has happened after startup of a tablet. This patch
addresses the issue in the TestUnsafeChangeConfigWithFiveReplicaConfig
and other scenarios which might be affected if same ever happens again.
[1] http://jenkins.kudu.apache.org/job/kudu-gerrit/22585/BUILD_TYPE=TSAN
Change-Id: I1e77c440b872a42c68b6d7d1cb0563fee0470fc2
---
M src/kudu/tools/kudu-admin-test.cc
1 file changed, 17 insertions(+), 16 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/01/16601/1
--
To view, visit http://gerrit.cloudera.org:8080/16601
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I1e77c440b872a42c68b6d7d1cb0563fee0470fc2
Gerrit-Change-Number: 16601
Gerrit-PatchSet: 1
Gerrit-Owner: Alexey Serbin <[email protected]>