forked from fjall-rs/lsm-tree
-
Notifications
You must be signed in to change notification settings - Fork 1
feat(range-tombstone): add structured error context to decode_range_tombstones #37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
polaz
merged 28 commits into
main
from
feat/#26-add-structured-error-context-to-range-tombstone-de
Mar 21, 2026
Merged
Changes from 23 commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
2b71469
feat(range-tombstone): add structured error context to decode_range_t…
polaz ea2c5ff
fix(range-tombstone): capture cursor offset before read, use try_from…
polaz 1bc1b6b
test(range-tombstone): verify truncated and oversized field decode er…
polaz f45ff0f
refactor(range-tombstone): replace read_exact with direct slice copy
polaz 9154f91
style(range-tombstone): suppress expect_used lint in test helpers
polaz 9767f84
Merge branch 'main' into feat/#26-add-structured-error-context-to-ran…
polaz 44a2ad0
fix(range-tombstone): use fallible get() slice for start_buf/end_buf …
polaz 8d84135
fix(range-tombstone): report buf slice offset at actual data position
polaz 1cdd844
chore(range-tombstone): integrate main with load_block metrics test
polaz 3512c1c
fix(range-tombstone): report entry-start offset for interval errors
polaz 971ae1a
fix(range-tombstone): clarify offset semantics and assert offsets in …
polaz 6e948d1
docs(range-tombstone): note public accessibility of error variant fields
polaz 7ce63bb
docs(range-tombstone): explain .get() choice over direct indexing
polaz 754930b
refactor(range-tombstone): rename start_buf/end_buf fields to start/end
polaz abcf581
style(range-tombstone): move cast_possible_truncation expect to funct…
polaz dcb9098
fix(range-tombstone): use checked_add for slice boundary arithmetic
polaz 3ee0bc8
fix(range-tombstone): reject empty RT block payload as corruption
polaz 667e8b7
test(range-tombstone): assert offset in exceeds-remaining error tests
polaz b6c7080
Merge branch 'main' into feat/#26-add-structured-error-context-to-ran…
polaz a1743a9
refactor(range-tombstone): use field-specific offset variable names
polaz 5e8b7e9
test(range-tombstone): assert offset in invalid-interval test
polaz daa1aa7
refactor(range-tombstone): simplify test helper to always assert offset
polaz 62da099
docs(range-tombstone): include validation fields in error doc example
polaz f5d2449
refactor(range-tombstone): extract read_checked_slice helper for star…
polaz 6b75e64
refactor(range-tombstone): derive data from cursor.get_ref() in read_…
polaz abfccd7
Merge branch 'main' into feat/#26-add-structured-error-context-to-ran…
polaz faedd2b
refactor(range-tombstone): capture cursor offset as u64 directly in r…
polaz bfadb07
Merge branch 'main' into feat/#26-add-structured-error-context-to-ran…
polaz File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
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
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
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.