Skip to content

Limit targeted cache inspection and order cleanup - #461

Merged
matrixarkai merged 1 commit into
mainfrom
fix/slot-cache-lookup
Nov 21, 2026
Merged

matrixarkai merged 1 commit into
mainfrom
fix/slot-cache-lookup

Conversation

@matrixarkai

Copy link
Copy Markdown
Owner

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.

@matrixarkai
matrixarkai merged commit 4a5414c into main Nov 21, 2026
6 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants