Alexey Serbin has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/9729


Change subject: [delete_table-itest] fix flake in TestNoDeleteTombstonedTablets
......................................................................

[delete_table-itest] fix flake in TestNoDeleteTombstonedTablets

Fixed flake in DeleteTableITest.TestNoDeleteTombstonedTablets scenario.
The flake started to surface after the 3-4-3 replica management scheme
was turned on by default.

In essence, once AddServer() was called, it might happen that the
following RemoveServer() would race with the catalog manager trying
to remove an excess replica, resulting in an error message like below:

  src/kudu/integration-tests/delete_table-itest.cc:1212: Failure
  Failed
  Bad status: Illegal state: RaftConfig change currently pending. \
      Only one is allowed at a time.

I verified the fix running the scenario using dist_test:
  prior to the fix (12 out of 256 failed)
    http://dist-test.cloudera.org/job?job_id=aserbin.1521584964.136771

  after the fix (0 out of 256 failed)
    http://dist-test.cloudera.org//job?job_id=aserbin.1521586527.79020

Change-Id: I9fddc0667b22d258385b9cd7ec2ed52fd5e052d8
---
M src/kudu/integration-tests/delete_table-itest.cc
1 file changed, 8 insertions(+), 1 deletion(-)



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

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I9fddc0667b22d258385b9cd7ec2ed52fd5e052d8
Gerrit-Change-Number: 9729
Gerrit-PatchSet: 1
Gerrit-Owner: Alexey Serbin <[email protected]>

Reply via email to