-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Track RecycleStore basic stats with needed refactor #15291
Conversation
drop(recycle_stores); | ||
} else { | ||
self.stats | ||
.dropped_stores | ||
.fetch_add(recycle_stores.len() as u64, Ordering::Relaxed); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
well, I think this is wrong guessing from the metrics field name.
drop(recycle_stores); | ||
} else { | ||
self.stats | ||
.dropped_stores | ||
.fetch_add(recycle_stores.len() as u64, Ordering::Relaxed); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
like this(https://github.com/solana-labs/solana/pull/15291/files#r575304322), this was wrong, right?
running mainnet-beta a bit, it looks like I need some ttl-based eviction here too like #15139 |
Codecov Report
@@ Coverage Diff @@
## master #15291 +/- ##
=======================================
Coverage 79.5% 79.5%
=======================================
Files 403 403
Lines 102707 102738 +31
=======================================
+ Hits 81739 81777 +38
+ Misses 20968 20961 -7 |
@sakridge Could you review this at your convenient time? I'll soon create another actual eviction pr on top of this. :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
* Track RecycleStore basic stats with needed refactor * Fix another wrong metrics def (cherry picked from commit 30f1831)
Problem
Needs more info to move forward #15188
Summary of Changes
Introduce pretty straightforward metrics to RecycleStores.
Fixes #