[
https://issues.apache.org/jira/browse/RATIS-650?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16926804#comment-16926804
]
Supratim Deka commented on RATIS-650:
-------------------------------------
Changed as per review discussion, added Metric gauges each of which simply
tracks the commit index of a peer.
The commit index metrics are still retained as part of leader state.
[~shashikant] please note that in patch 003,
HeartbeatMetrics.java is listed as a deleted file
RaftLeaderMetrics.java is listed as a created file
This is actually a rename with modifications.
> Add metric to track lag between leader and follower in Log commit
> -----------------------------------------------------------------
>
> Key: RATIS-650
> URL: https://issues.apache.org/jira/browse/RATIS-650
> Project: Ratis
> Issue Type: Sub-task
> Components: server
> Reporter: Shashikant Banerjee
> Assignee: Supratim Deka
> Priority: Major
> Fix For: 0.4.0
>
> Attachments: RATIS-650.000.patch, RATIS-650.002.patch,
> RATIS-650.003.patch
>
>
> Following metric indicates by how much each follower lags the leader with
> respect to the log commit index.
> |raftServerCommitIndexDiff|difference between the next commitIndex between a
> leader and each of its peer. This will give an idea at what of point of time
> a follower lags/catches up with respect to leader|
>
--
This message was sent by Atlassian Jira
(v8.3.2#803003)