Andrew Wong has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/17031


Change subject: txn_commit-itest: deflake 
TestCommitTasksReloadOnLeadershipChange
......................................................................

txn_commit-itest: deflake TestCommitTasksReloadOnLeadershipChange

The test shows up on the flaky test dashboard as failing around 20% of
the time. As it turns out, transferring leadership by quiescing multiple
replicas can lead to flakiness if we happen to pick a lagging replica as
the new leader.

Instead of targeting a specific tablet server as the host of the new
leaders, we'll now just quiesce the old leader tablet server and stop
quiescing the other tablet servers.

I ran the test in DEBUG mode 100 times. Before this patch, it failed 16
times; with it, it passed 100/100 times.

Change-Id: I2b27864e72888367eb0af7de59e044a9e018c31b
---
M src/kudu/integration-tests/txn_commit-itest.cc
1 file changed, 8 insertions(+), 7 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/31/17031/1
--
To view, visit http://gerrit.cloudera.org:8080/17031
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I2b27864e72888367eb0af7de59e044a9e018c31b
Gerrit-Change-Number: 17031
Gerrit-PatchSet: 1
Gerrit-Owner: Andrew Wong <aw...@cloudera.com>

Reply via email to