Andrew Wong has uploaded this change for review. ( http://gerrit.cloudera.org:8080/16515
Change subject: wip KUDU-2612 p13: add txn memrowsets to tablet ...................................................................... wip KUDU-2612 p13: add txn memrowsets to tablet DONT_BUILD wip: this is the remainder of https://gerrit.cloudera.org/c/16438/ rebased; I still need to address some of the TODOs. This patch adds a single MRS to the tablet per transaction. Currently, these MRSs can only be flushed once their transactions are committed. During a MRS flush, all committed MRSs are flushed together. When inserting as a part of a transaction, in addition to the usual DRSs and main MRS, all committed MRSs will be consulted to determine whether the row already exists. When iterating through rows, only committed MRSs are iterated through. Change-Id: I1dea4031c0acb875993352d452dc4c233e35a502 --- M src/kudu/tablet/memrowset.cc M src/kudu/tablet/metadata.proto M src/kudu/tablet/ops/write_op.cc M src/kudu/tablet/ops/write_op.h M src/kudu/tablet/row_op.cc M src/kudu/tablet/row_op.h M src/kudu/tablet/tablet.cc M src/kudu/tablet/tablet.h M src/kudu/tablet/tablet.proto M src/kudu/tablet/tablet_metadata.cc M src/kudu/tablet/tablet_metadata.h M src/kudu/tablet/tablet_replica-test-base.cc M src/kudu/tablet/txn_participant-test.cc M src/kudu/tserver/tablet_service.cc M src/kudu/tserver/tserver.proto 15 files changed, 506 insertions(+), 89 deletions(-) git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/15/16515/1 -- To view, visit http://gerrit.cloudera.org:8080/16515 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: I1dea4031c0acb875993352d452dc4c233e35a502 Gerrit-Change-Number: 16515 Gerrit-PatchSet: 1 Gerrit-Owner: Andrew Wong <[email protected]>
