Andrew Wong has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/17037 )

Change subject: KUDU-2612 tablet servers automatically register txn participants
......................................................................


Patch Set 5:

(2 comments)

Not a full review, just mentioning this since this issue seems a tricky.

http://gerrit.cloudera.org:8080/#/c/17037/5/src/kudu/integration-tests/txn_write_ops-itest.cc
File src/kudu/integration-tests/txn_write_ops-itest.cc:

http://gerrit.cloudera.org:8080/#/c/17037/5/src/kudu/integration-tests/txn_write_ops-itest.cc@178
PS5, Line 178: kNumTablets
Should this be kNumTablets + 1, for the TxnStatusTablet?


http://gerrit.cloudera.org:8080/#/c/17037/5/src/kudu/tablet/tablet_replica.cc
File src/kudu/tablet/tablet_replica.cc:

http://gerrit.cloudera.org:8080/#/c/17037/5/src/kudu/tablet/tablet_replica.cc@1262
PS5, Line 1262:       auto s = replica_->SubmitWrite(std::move(op));
One approach that comes to mind is to have OpDriver::Init() run the op 
completion callback on failure if we're the leader, since AFAICT that's the 
main error codepath exercised by SubmitWrite().



--
To view, visit http://gerrit.cloudera.org:8080/17037
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ia383f7afd208c44695c57aab82e3818fa1712ce6
Gerrit-Change-Number: 17037
Gerrit-PatchSet: 5
Gerrit-Owner: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Andrew Wong <[email protected]>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Tidy Bot (241)
Gerrit-Comment-Date: Wed, 17 Feb 2021 00:45:18 +0000
Gerrit-HasComments: Yes

Reply via email to