Hello Andrew Wong,

I'd like you to do a code review. Please visit

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

to review the following change.


Change subject: mvcc: some locking cleanup
......................................................................

mvcc: some locking cleanup

Close was notifying waiters before erasing them from the waiters_ list. In
practice this didn't matter: lock_ was always held around any manipulation
of waiters_. But for consistency, let's do what AdjustCleanTime does.

AdjustCleanTime required lock_ to be held, so let's enforce that.

Change-Id: I189553d0f589794ad830a30b3c0b4ce5fd5569ba
---
M src/kudu/tablet/mvcc.cc
M src/kudu/tablet/mvcc.h
2 files changed, 11 insertions(+), 7 deletions(-)



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

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I189553d0f589794ad830a30b3c0b4ce5fd5569ba
Gerrit-Change-Number: 14816
Gerrit-PatchSet: 1
Gerrit-Owner: Adar Dembo <[email protected]>
Gerrit-Reviewer: Andrew Wong <[email protected]>

Reply via email to