ChenSammi commented on a change in pull request #506:
URL: https://github.com/apache/ratis/pull/506#discussion_r726858558



##########
File path: 
ratis-server/src/main/java/org/apache/ratis/server/raftlog/RaftLogBase.java
##########
@@ -394,6 +394,7 @@ public LogEntryProto getEntry(TimeDuration timeout) throws 
RaftLogIOException, T
       } catch (TimeoutException t) {
         final String err = getName() + ": Timeout readStateMachineData for " + 
toLogEntryString(logEntry);
         LOG.error(err, t);
+        getRaftLogMetrics().onStateMachineReadTimeout();

Review comment:
       Do you think adding another two metrics to sum up the read timeout will 
make it more reasonable? 




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to