[ https://issues.apache.org/jira/browse/RATIS-966?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17126906#comment-17126906 ]
Ansh Khanna commented on RATIS-966: ----------------------------------- [~swagle] [~avijayan] [~shashikant] Hi all, I am currently working on this task and just had a question regarding when exactly should the count be increased and decreased. From my understanding, # Should the count be incremented when an entry is appended or committed? (since uncommitted entries can be potentially discarded) # Should the count be decremented incase they are discarded? Thanks, Ansh > Add metric for different types of log entries for a raft server impl > -------------------------------------------------------------------- > > Key: RATIS-966 > URL: https://issues.apache.org/jira/browse/RATIS-966 > Project: Ratis > Issue Type: Sub-task > Reporter: Shashikant Banerjee > Assignee: Ansh Khanna > Priority: Major > > Currently, a raft log entry can potentially consist of different types of > entries: > 1) Configuration > 2) MetaData > 3) StateMachine > > Idea here is track the count for the same for a given raft server impl. -- This message was sent by Atlassian Jira (v8.3.4#803005)