Andrew Wong has uploaded this change for review. ( http://gerrit.cloudera.org:8080/17361
Change subject: KUDU-2612: fix race when adopting partition lock ...................................................................... KUDU-2612: fix race when adopting partition lock The way we were transferring the partition lock to the Txn wasn't thread-safe. This patch wraps the critical section with a spinlock. This patch includes a test that would trigger a TSAN error. Change-Id: Ifc7ac7f474baf308860847298355b300c76d9ef5 --- M src/kudu/tablet/txn_participant-test.cc M src/kudu/tablet/txn_participant.cc M src/kudu/tablet/txn_participant.h 3 files changed, 22 insertions(+), 0 deletions(-) git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/61/17361/1 -- To view, visit http://gerrit.cloudera.org:8080/17361 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: Ifc7ac7f474baf308860847298355b300c76d9ef5 Gerrit-Change-Number: 17361 Gerrit-PatchSet: 1 Gerrit-Owner: Andrew Wong <[email protected]>
