[ https://issues.apache.org/jira/browse/RATIS-676?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16948329#comment-16948329 ]
Shashikant Banerjee commented on RATIS-676: ------------------------------------------- Thanks [~avijayan] for working on this. The logic seems fine to me but i think, this metric should not be a part of RaftLeaderMetrics but raftServerImpl metric. What do you think? > Add a metric in RaftServer to track the Log Commit Index > -------------------------------------------------------- > > Key: RATIS-676 > URL: https://issues.apache.org/jira/browse/RATIS-676 > Project: Ratis > Issue Type: Sub-task > Components: server > Reporter: Supratim Deka > Assignee: Aravindan Vijayan > Priority: Major > Attachments: RATIS-676-000.patch, RATIS-676-001.patch > > > RATIS-650 tracks the commit indexes of each peer in a RaftGroup - tracking is > done as metrics on the RAFT group leader. > This jira however tracks the RaftLog commit index as a metric of the local > RaftServer. This metric will be reported by all nodes running a raft server > irrespective of their role (Leader or Follower). -- This message was sent by Atlassian Jira (v8.3.4#803005)