[
https://issues.apache.org/jira/browse/RATIS-676?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16960222#comment-16960222
]
Tsz-wo Sze commented on RATIS-676:
----------------------------------
Just found that TestRaftWithGrpc.testStateMachineMetrics has NPE.
https://builds.apache.org/job/PreCommit-RATIS-Build/1111/testReport/org.apache.ratis.grpc/TestRaftWithGrpc/testStateMachineMetrics/
{code}
java.lang.NullPointerException
at
org.apache.ratis.RaftBasicTests.checkFollowerCommitLagsLeader(RaftBasicTests.java:490)
at
org.apache.ratis.RaftBasicTests.testStateMachineMetrics(RaftBasicTests.java:455)
at
org.apache.ratis.grpc.TestRaftWithGrpc.lambda$testStateMachineMetrics$1(TestRaftWithGrpc.java:65)
...
{code}
> 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
> Fix For: 0.5.0
>
> Attachments: RATIS-676-000.patch, RATIS-676-001.patch,
> RATIS-676-002.patch, RATIS-676-003.patch, RATIS-676-004.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)