Hello Alexey Serbin,

I'd like you to do a code review. Please visit

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

to review the following change.


Change subject: consensus: Expose health status in GetConsensusState() RPC
......................................................................

consensus: Expose health status in GetConsensusState() RPC

This patch exposes health reporting as part of the GetConsensusState()
RPC method by plumbing in an additional member to the RPC request. This
is useful for testing purposes.

The helper function in cluster_itest_util.h is also updated, as well as
all outstanding call sites.

A test that uses this new functionality is in a follow-up patch.

Change-Id: I15b8931156183e1713b902d22abbc80ca393f6b9
---
M src/kudu/consensus/consensus.proto
M src/kudu/consensus/raft_consensus.h
M src/kudu/integration-tests/cluster_itest_util.cc
M src/kudu/integration-tests/cluster_itest_util.h
M src/kudu/integration-tests/delete_table-itest.cc
M src/kudu/integration-tests/raft_consensus-itest.cc
M src/kudu/integration-tests/raft_consensus_nonvoter-itest.cc
M src/kudu/integration-tests/tablet_copy-itest.cc
M src/kudu/integration-tests/tablet_replacement-itest.cc
M src/kudu/integration-tests/ts_tablet_manager-itest.cc
M src/kudu/tools/kudu-admin-test.cc
M src/kudu/tserver/tablet_service.cc
M src/kudu/tserver/ts_tablet_manager.cc
13 files changed, 60 insertions(+), 32 deletions(-)



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

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I15b8931156183e1713b902d22abbc80ca393f6b9
Gerrit-Change-Number: 9781
Gerrit-PatchSet: 1
Gerrit-Owner: Mike Percy <[email protected]>
Gerrit-Reviewer: Alexey Serbin <[email protected]>

Reply via email to