Removes snapshot_bank_utils::get_snapshot_storages()#7302
Removes snapshot_bank_utils::get_snapshot_storages()#7302brooksprumo merged 1 commit intoanza-xyz:masterfrom
Conversation
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #7302 +/- ##
=======================================
Coverage 82.8% 82.8%
=======================================
Files 801 801
Lines 363263 363255 -8
=======================================
- Hits 300848 300842 -6
+ Misses 62415 62413 -2 🚀 New features to boost your workflow:
|
7ad0de7 to
f00d725
Compare
| datapoint_info!( | ||
| "get_snapshot_storages", | ||
| ( | ||
| "snapshot-storages-time-ms", | ||
| measure_snapshot_storages.as_ms(), | ||
| i64 | ||
| ), | ||
| ); |
There was a problem hiding this comment.
You'll notice that we'll no longer be submitting this metric. I think that's fine because there is already another datapoint here:
agave/runtime/src/accounts_background_service.rs
Lines 281 to 318 in f00d725
The handle_snapshot_requests-timing.snapshot_time now encapsulates getting the snapshot storages. And getting the snapshot storages is almost 100% of this metric anyway. (Note there are spikes that correspond with the full snapshot interval, so we are seeing some other timing influence, but that's the minority of the time.) That and I don't think anyone was checking this metric anyway.
Problem
snapshot_bank_utils::get_snapshot_storages()is unnecessary.Summary of Changes
Remove it.