Andrew Wong has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/17368


Change subject: KUDU-2612: re-open TxnSystemTable if transaction is in new range
......................................................................

KUDU-2612: re-open TxnSystemTable if transaction is in new range

This patch makes the TxnSystemClient on tablet servers retry if attempts
to register the participant yield a NotFound error. This happens when
new ranges are added to the transactions status table.

To disambiguate between the case where the transaction itself doesn't
exist on the TxnStatusManager, this patch also adjust the return value
for such cases to be InvalidArugment, which seems equally fitting for
writing as a part of a bogus transaction ID.

Change-Id: I3af58dcaa3a995dac9dc937c7dfcb652bf004873
---
M src/kudu/integration-tests/txn_write_ops-itest.cc
M src/kudu/master/txn_manager-test.cc
M src/kudu/transactions/txn_status_manager.cc
M src/kudu/tserver/ts_tablet_manager.cc
4 files changed, 43 insertions(+), 8 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/68/17368/1
--
To view, visit http://gerrit.cloudera.org:8080/17368
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I3af58dcaa3a995dac9dc937c7dfcb652bf004873
Gerrit-Change-Number: 17368
Gerrit-PatchSet: 1
Gerrit-Owner: Andrew Wong <[email protected]>

Reply via email to