Todd Lipcon has submitted this change and it was merged.

Change subject: [tests] fix flakiness in catalog_manager_tsk-itest
......................................................................


[tests] fix flakiness in catalog_manager_tsk-itest

After recent updates the catalog_manager_tsk-itest became unstable
in TSAN configuration.  The failure scenario looks like the following:

  * 3 masters are running with --raft_enable_pre_election=false flag
    and short raft heartbeat interval.

  * The test client sends CreateTable request. The server side completes
    the request, but once the storm of master re-elections starts,
    the client cannot get the authoritative answer on its
    IsCreateTableDone requests because master leadership changes
    every 40-100ms.  As as result, after retrying IsCreateTableDone
    request many times, the client times out on its CreateTable request.

Making the raft heartbeat interval higher helps keeping the master
leadership intervals longer, so the client has better chance of
getting authoritative response from the masters.

Change-Id: I3731fb560923d82d2fb64ac7b829080f99a0681e
Reviewed-on: http://gerrit.cloudera.org:8080/7823
Tested-by: Alexey Serbin <aser...@cloudera.com>
Reviewed-by: Todd Lipcon <t...@apache.org>
---
M src/kudu/integration-tests/catalog_manager_tsk-itest.cc
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Todd Lipcon: Looks good to me, approved
  Alexey Serbin: Verified



-- 
To view, visit http://gerrit.cloudera.org:8080/7823
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I3731fb560923d82d2fb64ac7b829080f99a0681e
Gerrit-PatchSet: 2
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-Owner: Alexey Serbin <aser...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <aser...@cloudera.com>
Gerrit-Reviewer: Todd Lipcon <t...@apache.org>

Reply via email to