Mike Percy has submitted this change and it was merged. ( 
http://gerrit.cloudera.org:8080/9781 )

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
Reviewed-on: http://gerrit.cloudera.org:8080/9781
Tested-by: Kudu Jenkins
Reviewed-by: Alexey Serbin <[email protected]>
---
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, 61 insertions(+), 32 deletions(-)

Approvals:
  Kudu Jenkins: Verified
  Alexey Serbin: Looks good to me, approved

--
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: merged
Gerrit-Change-Id: I15b8931156183e1713b902d22abbc80ca393f6b9
Gerrit-Change-Number: 9781
Gerrit-PatchSet: 3
Gerrit-Owner: Mike Percy <[email protected]>
Gerrit-Reviewer: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Kudu Jenkins
Gerrit-Reviewer: Mike Percy <[email protected]>

Reply via email to