Todd Lipcon has submitted this change and it was merged. Change subject: KUDU-1436. Concurrent remote bootstrap session starts can crash or corrupt tablets ......................................................................
KUDU-1436. Concurrent remote bootstrap session starts can crash or corrupt tablets This fixes a race where a stray request to begin a remote bootstrap session can re-initialize the session object while another request is in the process of reading it. The new regression test reliably failed on TSAN before this patch. Change-Id: I8ec55e7b51da9e7c795c18146f04d539d1e44ccd Reviewed-on: http://gerrit.cloudera.org:8080/2913 Tested-by: Kudu Jenkins Reviewed-by: Adar Dembo <[email protected]> Reviewed-by: Mike Percy <[email protected]> --- M src/kudu/tserver/remote_bootstrap_service-test.cc M src/kudu/tserver/remote_bootstrap_service.cc M src/kudu/tserver/remote_bootstrap_service.h M src/kudu/tserver/remote_bootstrap_session.cc M src/kudu/tserver/remote_bootstrap_session.h 5 files changed, 66 insertions(+), 35 deletions(-) Approvals: Mike Percy: Looks good to me, approved Adar Dembo: Looks good to me, approved Kudu Jenkins: Verified -- To view, visit http://gerrit.cloudera.org:8080/2913 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: merged Gerrit-Change-Id: I8ec55e7b51da9e7c795c18146f04d539d1e44ccd Gerrit-PatchSet: 3 Gerrit-Project: kudu Gerrit-Branch: master Gerrit-Owner: Todd Lipcon <[email protected]> Gerrit-Reviewer: Adar Dembo <[email protected]> Gerrit-Reviewer: Kudu Jenkins Gerrit-Reviewer: Mike Percy <[email protected]> Gerrit-Reviewer: Todd Lipcon <[email protected]> Gerrit-Reviewer: song bruce zhang <[email protected]>
