Hello Kudu Jenkins, Andrew Wong, Hao Hao,

I'd like you to reexamine a change. Please visit

    http://gerrit.cloudera.org:8080/16537

to look at the new patch set (#4).

Change subject: KUDU-2612 p2 (c): small fix on TxnStatusManager's behavior
......................................................................

KUDU-2612 p2 (c): small fix on TxnStatusManager's behavior

This patch adds more consistency into the TxnStatusManager's behavior
during the time interval between the following events:

  * The state of the leader replica of a transaction status tablet
    changes from BOOTSTRAPPING to RUNNING (see TabletReplica::Start()
    for details).

  * TxnStatusManager's runtime structures are populated with the
    information loaded from the tablet
    (i.e. TxnStatusManager::LoadFromTablet() successfully completes).

Before this patch, relevant methods of the TxnStatusManager class could
behave inconsistently within the mentioned interval.  With this patch,
those methods return Status::ServiceUnavailable() and do not exhibit any
inconsistent behavior.

This patch also adds a new test scenario to cover the new behavior.

This is a follow-up to efd8c4f165460b7fa337b8ebd1856b10bc274311.

Change-Id: Ia95f821d87145aff6587c017a425e205bdcb8b2b
---
M src/kudu/integration-tests/ts_tablet_manager-itest.cc
M src/kudu/transactions/txn_status_manager-test.cc
M src/kudu/transactions/txn_status_manager.cc
M src/kudu/transactions/txn_status_manager.h
4 files changed, 139 insertions(+), 12 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/37/16537/4
--
To view, visit http://gerrit.cloudera.org:8080/16537
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Ia95f821d87145aff6587c017a425e205bdcb8b2b
Gerrit-Change-Number: 16537
Gerrit-PatchSet: 4
Gerrit-Owner: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Andrew Wong <[email protected]>
Gerrit-Reviewer: Hao Hao <[email protected]>
Gerrit-Reviewer: Kudu Jenkins (120)

Reply via email to