Andrew Wong has uploaded a new change for review.

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

Change subject: KUDU-1506 Add consensus lag metrics
......................................................................

KUDU-1506 Add consensus lag metrics

It may be useful to see how far behind certain peers are in appending
their operations. As such, this patch adds a metric to do so.

The new metric counts the number of operations behind the maximum
operation seen by the leader each peer is. It is updated every time
the peer queue updates its metrics, i.e. after every append on a
follower and after parsing responses from peers on a leader.

Change-Id: Ida8e992cc2397ca8d5873e62961a65f618d52c36
---
M src/kudu/consensus/consensus.proto
M src/kudu/consensus/consensus_queue.cc
M src/kudu/consensus/consensus_queue.h
M src/kudu/consensus/raft_consensus.cc
4 files changed, 49 insertions(+), 4 deletions(-)


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ida8e992cc2397ca8d5873e62961a65f618d52c36
Gerrit-PatchSet: 1
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-Owner: Andrew Wong <aw...@cloudera.com>

Reply via email to