Repository navigation
Flush cache by bank_id - #16447
Merged
Merged
Flush cache by bank_id#16447
Conversation
roryharr
force-pushed
the
cache_lookups_by_bank_id
branch
from
October 27, 2026 17:45
5448a79 to
db22158
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #16447 +/- ##
=========================================
+ Coverage 82.3% 82.4% +0.1%
=========================================
Files 954 954
Lines 373619 373616 -3
=========================================
+ Hits 307676 308061 +385
+ Misses 65943 65555 -388 🚀 New features to boost your workflow:
|
roryharr
force-pushed
the
cache_lookups_by_bank_id
branch
from
October 27, 2026 19:58
db22158 to
acac655
Compare
roots_to_flush returns each unflushed root's bank id with its slot, and flush finds and removes each root's cache by its bank id. This removes remove_slot. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
roryharr
force-pushed
the
cache_lookups_by_bank_id
branch
from
October 27, 2026 20:21
acac655 to
8b26ba8
Compare
roryharr
marked this pull request as ready for review
October 27, 2026 21:46
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
Flushing the cache by slot requires the bank_ids structure which needs to be removed to support multiple banks with the same slot.
One note: in the flush flow, bank_id is only used to access the write cache. Everywhere else uses slots, since the purpose of the function is to flush to storages which are keyed by slot
Summary of Changes
Testing
Fixes #