Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RATIS-833. Add metrics for raft log cache count and size in bytes #78

Merged
merged 3 commits into from
Jun 25, 2020
Merged

RATIS-833. Add metrics for raft log cache count and size in bytes #78

merged 3 commits into from
Jun 25, 2020

Conversation

runzhiwang
Copy link
Contributor

@bshashikant Could you help review it ? Thank you very much.

@bshashikant
Copy link
Contributor

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?

@bshashikant
Copy link
Contributor

@runzhiwang , can you please update the PR?

@runzhiwang
Copy link
Contributor Author

@bshashikant updated

@bshashikant bshashikant merged commit 0cc6aca into apache:master Jun 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants