Wenzhe Zhou has uploaded this change for review. ( http://gerrit.cloudera.org:8080/20699
Change subject: IMPALA-12556: Fix flaky test test_two_statestored_with_force_active ...................................................................... IMPALA-12556: Fix flaky test test_two_statestored_with_force_active Test test_two_statestored_with_force_active failed occasionally by cause of both statestore instances assigned with active roles. This patch fixes the issue to handle the case that both statestore instances are restarted with flag "statestore_force_active" in the same way as both statestore instances are restarted without flag "statestore_force_active". Testing: - Repeatedly ran test_two_statestored_with_force_active on Jenkins for hundreds of times without failure. - Repeatedly ran test_two_statestored_with_force_active on local machine for thousand times without failure. - Repeatedly ran all tests in test_statestored_ha.py for over 12 hours on Jenkins without failure. - Passed core tests. Change-Id: I3e6f85233ff6fa747a6aa5ef8d093627885d20b2 --- M be/src/statestore/statestore-subscriber.cc M be/src/statestore/statestore.cc 2 files changed, 4 insertions(+), 2 deletions(-) git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/99/20699/2 -- To view, visit http://gerrit.cloudera.org:8080/20699 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: I3e6f85233ff6fa747a6aa5ef8d093627885d20b2 Gerrit-Change-Number: 20699 Gerrit-PatchSet: 2 Gerrit-Owner: Wenzhe Zhou <wz...@cloudera.com>