Skip to content

Robj/cache invalid addresses - #693

Merged
rtjohnso merged 16 commits into
mainfrom
robj/cache-invalid-addresses
Oct 17, 2026
Merged

rtjohnso merged 16 commits into
mainfrom
robj/cache-invalid-addresses

Conversation

@rtjohnso

Copy link
Copy Markdown
Collaborator

Return an error (instead of asserting) on cache_get calls with invalid address arguments.

Merge main 8e0f29b, including prefix
compression and its MemorySanitizer repairs, into the active invalid-address
branch. The merge is conflict-free and preserves the existing checked-address
implementation and tests byte for byte.

Validation: 303 passing unit executions across GCC debug/release and Clang 19
release-MSan, plus the deterministic debug prefetch-admission functional check.
Six existing fault-injection-only executions are skipped. Maintained-source
formatting and Git whitespace checks pass. Retain historical performance and
progress caveats; this integration does not rerun benchmarks.

Archive commands, logs, source/binary hashes, counts, and integration notes.

Signed-off-by: Rob Johnson <rob@robjohnson.io>
Keep invalid-address diagnostics cold, validate async allocation only in
the existing disk-load coroutine, and use a checked power-of-two alignment
mask. Preserve invalid-miss rejection before reservation or I/O and the
existing retry, resume, and callback ownership contracts.

Record controlled cache and database comparisons against main and the
unoptimized branch, including unresolved insertion wall-time variation.
Validate the exact source in release, debug and MemorySanitizer builds.

Signed-off-by: Rob Johnson <rob@robjohnson.io>
@netlify

netlify Bot commented Oct 17, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for splinterdb canceled.

Name Link
🔨 Latest commit af042d4
🔍 Latest deploy log https://app.netlify.com/projects/splinterdb/deploys/6ad39cf038ddf713399f7718

@rtjohnso
rtjohnso merged commit 1dca398 into main Oct 17, 2026
113 of 114 checks passed
@rtjohnso
rtjohnso deleted the robj/cache-invalid-addresses branch October 17, 2026 21:09
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.

1 participant