Jean-Daniel Cryans has submitted this change and it was merged.

Change subject: ksck: also print info about the good replicas for a bad tablet
......................................................................


ksck: also print info about the good replicas for a bad tablet

In the case that one or more replicas is bad in a tablet, it
can be useful to know where the _good_ replicas are in order to
start debugging why they aren't doing their job of replacing or
repairing the bad one. This patch prints out an INFO message for
those good replicas.

Example output:
  WARNING: Detected problems with Tablet 3bf432551c5d4c529616f8e7ce829424 of 
table 'usertable'
  ------------------------------------------------------------
  WARNING: Bad state on TS c189483a372947f192fc338e612ef70f 
(e1516.halxg.cloudera.com:7050): NOT_STARTED
    Last status: RemoteBootstrap: Downloading block 369288934977914585 
(450/31161)
    Data state:  TABLET_DATA_COPYING
  INFO: OK state on TS dff78a5acdbb4a47ba2c7a62d1bcc5ee 
(e1407.halxg.cloudera.com:7050): RUNNING
  INFO: OK state on TS ea948da3787648c2b26049e953afb3ea 
(e1301.halxg.cloudera.com:7050): RUNNING

Change-Id: Ic0dcefe5a7b00c77a116cc40601cce13cf8a0112
Reviewed-on: http://gerrit.cloudera.org:8080/3706
Tested-by: Kudu Jenkins
Reviewed-by: Jean-Daniel Cryans <jdcry...@apache.org>
---
M src/kudu/tools/ksck-test.cc
M src/kudu/tools/ksck.cc
2 files changed, 17 insertions(+), 4 deletions(-)

Approvals:
  Jean-Daniel Cryans: Looks good to me, approved
  Kudu Jenkins: Verified



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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ic0dcefe5a7b00c77a116cc40601cce13cf8a0112
Gerrit-PatchSet: 3
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-Owner: Todd Lipcon <t...@apache.org>
Gerrit-Reviewer: Jean-Daniel Cryans <jdcry...@apache.org>
Gerrit-Reviewer: Kudu Jenkins
Gerrit-Reviewer: Mike Percy <mpe...@apache.org>

Reply via email to