Hello Jean-Daniel Cryans,

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

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

to review the following change.

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
---
M src/kudu/tools/ksck-test.cc
M src/kudu/tools/ksck.cc
2 files changed, 17 insertions(+), 4 deletions(-)


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic0dcefe5a7b00c77a116cc40601cce13cf8a0112
Gerrit-PatchSet: 1
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-Owner: Todd Lipcon <t...@apache.org>
Gerrit-Reviewer: Jean-Daniel Cryans <jdcry...@apache.org>

Reply via email to