Andrew Wong has submitted this change and it was merged. ( http://gerrit.cloudera.org:8080/16304 )
Change subject: KUDU-2612 p8: replay participant ops on bootstrap ...................................................................... KUDU-2612 p8: replay participant ops on bootstrap This patch adds the ability to bootstrap a Tablet's TxnParticipant from its WALs. The replay is a bit crude, in that we'll always update state based on replicate/commit pairs, foregoing the usual state checks. This is acceptable because presumably this checking happened the first time the participant ops went through replication. This patch doesn't add any form of WAL anchoring. This will come in a separate patch. Change-Id: I199ed01c2244d16ed6fd7ded063e4c71f3c409ff Reviewed-on: http://gerrit.cloudera.org:8080/16304 Reviewed-by: Alexey Serbin <[email protected]> Tested-by: Kudu Jenkins --- M src/kudu/integration-tests/txn_participant-itest.cc M src/kudu/tablet/ops/participant_op.cc M src/kudu/tablet/ops/participant_op.h M src/kudu/tablet/tablet_bootstrap.cc M src/kudu/tablet/tablet_replica.cc M src/kudu/tablet/txn_participant-test-util.h M src/kudu/tablet/txn_participant-test.cc 7 files changed, 192 insertions(+), 64 deletions(-) Approvals: Alexey Serbin: Looks good to me, approved Kudu Jenkins: Verified -- To view, visit http://gerrit.cloudera.org:8080/16304 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: merged Gerrit-Change-Id: I199ed01c2244d16ed6fd7ded063e4c71f3c409ff Gerrit-Change-Number: 16304 Gerrit-PatchSet: 5 Gerrit-Owner: Andrew Wong <[email protected]> Gerrit-Reviewer: Alexey Serbin <[email protected]> Gerrit-Reviewer: Andrew Wong <[email protected]> Gerrit-Reviewer: Kudu Jenkins (120)
