You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ratis.apache.org by GitBox <gi...@apache.org> on 2020/05/04 15:21:17 UTC

[GitHub] [incubator-ratis] bshashikant commented on pull request #78: RATIS-833. Add metrics for raft log cache count and size in bytes

bshashikant commented on pull request #78:
URL: https://github.com/apache/incubator-ratis/pull/78#issuecomment-623528556


   Thanks @runzhiwang for working on this. We can potentially large no of closed segments in ratis pipeline lifecycle if log purging is not enabled. I am just thinking if it would be better to maintain the total segment size in memory instead of iterating over all to figure the size every-time to fetch the metric value. What do you think?


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org