Hello Will Berkeley, Mike Percy, Kudu Jenkins, Todd Lipcon,
I'd like you to reexamine a change. Please visit
http://gerrit.cloudera.org:8080/10588
to look at the new patch set (#2).
Change subject: [tools] KUDU-2461 Add election metrics to ksck
......................................................................
[tools] KUDU-2461 Add election metrics to ksck
KUDU-2287 added two new metrics:
* failed_elections_since_stable_leader
* time_since_last_leader_heartbeat
This commit adds this information to the ksck consensus matrix.
Consensus matrix of a healthy tablet:
Config source | Replicas | Current term | Config index | Failed elections
| Millis since heartbeat | Committed?
---------------+--------------+--------------+--------------+------------------+------------------------+------------
master | A B* C | | |
| | Yes
A | A B* C | 2 | -1 |
| 486 | Yes
B | A B* C | 2 | -1 |
| | Yes
C | A B* C | 2 | -1 |
| 379 | Yes
Consensus matrix of an unhealty tablet with leader missing:
Config source | Replicas | Current term | Config index | Failed
elections | Millis since heartbeat | Committed?
---------------+------------------------+--------------+--------------+------------------+------------------------+------------
master | A B* C | | |
| | Yes
A | A B* C | 4 | -1 | 3
| 9787 | Yes
B | [config not available] | | |
| |
C | [config not available] | | |
| |
Change-Id: I16fa6f32e6df7698365e908c7b48e63b0e52c745
---
M src/kudu/consensus/metadata.proto
M src/kudu/consensus/raft_consensus.cc
M src/kudu/tools/ksck-test.cc
M src/kudu/tools/ksck.cc
M src/kudu/tools/ksck_results.cc
M src/kudu/tools/ksck_results.h
6 files changed, 113 insertions(+), 42 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/88/10588/2
--
To view, visit http://gerrit.cloudera.org:8080/10588
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I16fa6f32e6df7698365e908c7b48e63b0e52c745
Gerrit-Change-Number: 10588
Gerrit-PatchSet: 2
Gerrit-Owner: Attila Bukor <[email protected]>
Gerrit-Reviewer: Kudu Jenkins
Gerrit-Reviewer: Mike Percy <[email protected]>
Gerrit-Reviewer: Todd Lipcon <[email protected]>
Gerrit-Reviewer: Will Berkeley <[email protected]>