Alexey Serbin has submitted this change and it was merged. ( 
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
Reviewed-on: http://gerrit.cloudera.org:8080/16601
Tested-by: Alexey Serbin <[email protected]>
Reviewed-by: Andrew Wong <[email protected]>
---
M src/kudu/tools/kudu-admin-test.cc
1 file changed, 17 insertions(+), 16 deletions(-)

Approvals:
  Alexey Serbin: Verified
  Andrew Wong: Looks good to me, approved

--
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: merged
Gerrit-Change-Id: I1e77c440b872a42c68b6d7d1cb0563fee0470fc2
Gerrit-Change-Number: 16601
Gerrit-PatchSet: 2
Gerrit-Owner: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Andrew Wong <[email protected]>
Gerrit-Reviewer: Grant Henke <[email protected]>
Gerrit-Reviewer: Kudu Jenkins (120)

Reply via email to