Hello Alexey Serbin, Kudu Jenkins, Andrew Wong, Hao Hao, Todd Lipcon,

I'd like you to reexamine a change. Please visit

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

to look at the new patch set (#4).

Change subject: Add a way to pin clean time advancement
......................................................................

Add a way to pin clean time advancement

In order to make OpId/Timestamp assignment to transactions
atomic, during the prepare phase, we need to let consensus
assign the timestamp, before starting a transaction in
MVCC. However we also need to make sure that clean time is
not advanced past the possible timestamps assigned.

This patch adds a pin to clean time advancement that acts
much like safe time, in the sense that it doesn't allow
clean time to be advanced past it.

This also adds a way to create and delete a pin within
a scope in a RAII way.

Change-Id: If863d28016aee98672d94ec5dc8a8630e1cbf5c8
---
M src/kudu/tablet/mvcc-test.cc
M src/kudu/tablet/mvcc.cc
M src/kudu/tablet/mvcc.h
3 files changed, 97 insertions(+), 29 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/41/9641/4
--
To view, visit http://gerrit.cloudera.org:8080/9641
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: If863d28016aee98672d94ec5dc8a8630e1cbf5c8
Gerrit-Change-Number: 9641
Gerrit-PatchSet: 4
Gerrit-Owner: David Ribeiro Alves <[email protected]>
Gerrit-Reviewer: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Andrew Wong <[email protected]>
Gerrit-Reviewer: David Ribeiro Alves <[email protected]>
Gerrit-Reviewer: Hao Hao <[email protected]>
Gerrit-Reviewer: Kudu Jenkins
Gerrit-Reviewer: Todd Lipcon <[email protected]>

Reply via email to