David Ribeiro Alves has submitted this change and it was merged. Change subject: KUDU-798 (part 1) Unify leader/follower mvcc behavior ......................................................................
KUDU-798 (part 1) Unify leader/follower mvcc behavior This patch does the following: 1) It moves timestamp assignment from tablet and into the TransactionDriver to be done prior to pushing the operation to consensus for replication. Follow up patches will move it to be done within consensus itself (though not necessarily managed by any of the consensus classes). 2) It makes all operations be "operations at a timestamp", making all operations have the same behavior within mvcc independently of whether they were started at the leader or at a follower. Follow up patches will completely remove the Mvcc APIs for automatic safe time advancement and timestamp assignment and will introduce the new entity responsible for "safe time". Change-Id: I3ba7212f9211f585d4bef00e5ccfc24d5eece224 Reviewed-on: http://gerrit.cloudera.org:8080/5055 Tested-by: Kudu Jenkins Reviewed-by: Todd Lipcon <[email protected]> --- M src/kudu/tablet/local_tablet_writer.h M src/kudu/tablet/tablet.cc M src/kudu/tablet/tablet.h M src/kudu/tablet/tablet_peer.cc M src/kudu/tablet/transactions/transaction_driver.cc M src/kudu/tablet/transactions/transaction_driver.h M src/kudu/tablet/transactions/transaction_tracker-test.cc 7 files changed, 93 insertions(+), 58 deletions(-) Approvals: Todd Lipcon: Looks good to me, approved Kudu Jenkins: Verified -- To view, visit http://gerrit.cloudera.org:8080/5055 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: merged Gerrit-Change-Id: I3ba7212f9211f585d4bef00e5ccfc24d5eece224 Gerrit-PatchSet: 13 Gerrit-Project: kudu Gerrit-Branch: master Gerrit-Owner: David Ribeiro Alves <[email protected]> Gerrit-Reviewer: Alexey Serbin <[email protected]> Gerrit-Reviewer: David Ribeiro Alves <[email protected]> Gerrit-Reviewer: Jean-Daniel Cryans <[email protected]> Gerrit-Reviewer: Kudu Jenkins Gerrit-Reviewer: Mike Percy <[email protected]> Gerrit-Reviewer: Tidy Bot Gerrit-Reviewer: Todd Lipcon <[email protected]>
