Repository navigation
Limit targeted cache inspection and order cleanup - #461
Merged
Merged
Conversation
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.
Change
Filter cache inspection before cloning entry names, sorting rows, or inspecting disk metadata. Keep complete inspection behavior unchanged. Slot and page-segment invalidation unlink selected keys directly from memory, resident and disk LRU orders instead of sweeping every order.
Validation
27 focused test executions passed on each backend (54 total), including four new guards, record-index consistency, SSD store/index agreement, recovery, survivor ordering and value-carrying eviction callbacks. At 64 and 8,192 unrelated memory entries, a one-row inspection performs one disk-metadata probe. Targeted invalidation performs zero LRU predicate visits while preserving both orderings and every surviving value.
Tier-key enumeration still scans cache keys; this change does not claim indexed owner lookup, complete maintenance latency acceptance or device write amplification. No persistent format or default-setting changes. No newly ignored tests.