Andrew Wong has posted comments on this change. ( http://gerrit.cloudera.org:8080/16304 )
Change subject: KUDU-2612 p8: replay participant ops on bootstrap ...................................................................... Patch Set 1: (10 comments) Thanks for the review! http://gerrit.cloudera.org:8080/#/c/16304/1/src/kudu/integration-tests/txn_participant-itest.cc File src/kudu/integration-tests/txn_participant-itest.cc: http://gerrit.cloudera.org:8080/#/c/16304/1/src/kudu/integration-tests/txn_participant-itest.cc@193 PS1, Line 193: TEST_F(TxnParticipantITest, TestCopyParticipantOps) { > Do you mind adding a short doc blurb to summarize the essence of this test Done http://gerrit.cloudera.org:8080/#/c/16304/1/src/kudu/integration-tests/txn_participant-itest.cc@196 PS1, Line 196: const > nit: constexpr ? Done http://gerrit.cloudera.org:8080/#/c/16304/1/src/kudu/integration-tests/txn_participant-itest.cc@201 PS1, Line 201: MonoDelta::FromSeconds(10) > nit: separate this into a constant and use here and at line 230 ? Done http://gerrit.cloudera.org:8080/#/c/16304/1/src/kudu/integration-tests/txn_participant-itest.cc@207 PS1, Line 207: statuses > What is the significance of collecting these statuses? I could not see tha Done http://gerrit.cloudera.org:8080/#/c/16304/1/src/kudu/integration-tests/txn_participant-itest.cc@225 PS1, Line 225: 3 > nit: maybe, replace with Done http://gerrit.cloudera.org:8080/#/c/16304/1/src/kudu/tablet/ops/participant_op.h File src/kudu/tablet/ops/participant_op.h: http://gerrit.cloudera.org:8080/#/c/16304/1/src/kudu/tablet/ops/participant_op.h@61 PS1, Line 61: ValidateOp() > It would nit nice to add a short doc blurb explaining the essence what kind Done http://gerrit.cloudera.org:8080/#/c/16304/1/src/kudu/tablet/ops/participant_op.h@61 PS1, Line 61: ValidateOp > Could ValidateOp() be a private method? Done http://gerrit.cloudera.org:8080/#/c/16304/1/src/kudu/tablet/ops/participant_op.cc File src/kudu/tablet/ops/participant_op.cc: http://gerrit.cloudera.org:8080/#/c/16304/1/src/kudu/tablet/ops/participant_op.cc@124 PS1, Line 124: txn->BeginTransaction() > nit here and elsewhere with successful cases: just return from the method? Yeah, I was expected extra code in the future, but I can update this for now. http://gerrit.cloudera.org:8080/#/c/16304/1/src/kudu/tablet/txn_participant-test.cc File src/kudu/tablet/txn_participant-test.cc: http://gerrit.cloudera.org:8080/#/c/16304/1/src/kudu/tablet/txn_participant-test.cc@291 PS1, Line 291: const > nit: constexpr ? Done http://gerrit.cloudera.org:8080/#/c/16304/1/src/kudu/tablet/txn_participant-test.cc@303 PS1, Line 303: > nit: remove the extra line? Done -- 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: comment Gerrit-Change-Id: I199ed01c2244d16ed6fd7ded063e4c71f3c409ff Gerrit-Change-Number: 16304 Gerrit-PatchSet: 1 Gerrit-Owner: Andrew Wong <[email protected]> Gerrit-Reviewer: Alexey Serbin <[email protected]> Gerrit-Reviewer: Andrew Wong <[email protected]> Gerrit-Reviewer: Kudu Jenkins (120) Gerrit-Comment-Date: Sat, 08 Aug 2020 08:12:55 +0000 Gerrit-HasComments: Yes
