Todd Lipcon has submitted this change and it was merged.

Change subject: KUDU-1745. Avoid crashing during failed master lookup
......................................................................


KUDU-1745. Avoid crashing during failed master lookup

This addresses a SEGV seen when handling a simultaneous failure talking
to both the master and the tablet servers. In this case, the failed
tablet server object is NULL.

This is only a partial fix/workaround - it avoids the crash but it seems
like the retry backoff is not working as expected. Nonetheless, it is at
least an improvement.

Change-Id: I0a06c31c5ad4e26928a7fcabf24f9fd7a02a7e38
Reviewed-on: http://gerrit.cloudera.org:8080/5089
Reviewed-by: Adar Dembo <[email protected]>
Tested-by: Kudu Jenkins
---
M src/kudu/client/meta_cache.cc
M src/kudu/integration-tests/client_failover-itest.cc
M src/kudu/integration-tests/test_workload.cc
M src/kudu/integration-tests/test_workload.h
M src/kudu/rpc/retriable_rpc.h
M src/kudu/rpc/rpc.h
6 files changed, 65 insertions(+), 6 deletions(-)

Approvals:
  Adar Dembo: Looks good to me, approved
  Kudu Jenkins: Verified



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I0a06c31c5ad4e26928a7fcabf24f9fd7a02a7e38
Gerrit-PatchSet: 4
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-Owner: Todd Lipcon <[email protected]>
Gerrit-Reviewer: Adar Dembo <[email protected]>
Gerrit-Reviewer: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Kudu Jenkins
Gerrit-Reviewer: Todd Lipcon <[email protected]>

Reply via email to