Mike Percy has uploaded a new change for review.

  http://gerrit.cloudera.org:8080/5363

Change subject: KUDU-1785. Fix potential crash in TabletCopySourceSession
......................................................................

KUDU-1785. Fix potential crash in TabletCopySourceSession

This patch fixes a crash in TabletCopySourceSession that can result from
dereferencing a null pointer. This may occur when a follower initiates a
TabletCopy session with a source server while the source server is
bootstrapping the given tablet.

Added a stress test in tablet_copy_client_session-itest to trigger the
issue.

Change-Id: I6f3ec35885dbf1a81c23ac10b1c9556dfddbd4b7
---
M src/kudu/integration-tests/CMakeLists.txt
A src/kudu/integration-tests/tablet_copy_client_session-itest.cc
M src/kudu/integration-tests/test_workload.h
M src/kudu/tserver/tablet_copy_source_session.cc
4 files changed, 129 insertions(+), 2 deletions(-)


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I6f3ec35885dbf1a81c23ac10b1c9556dfddbd4b7
Gerrit-PatchSet: 1
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-Owner: Mike Percy <[email protected]>

Reply via email to