forked from fjall-rs/lsm-tree
-
Notifications
You must be signed in to change notification settings - Fork 1
feat: add UserComparator::name() for stable identity persistence #101
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 19 commits into
main
from
feat/#74-feat-add-usercomparatorname-for-stable-identity-pe
Mar 23, 2026
Merged
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
2993d51
feat: add UserComparator::name() for stable identity persistence
polaz 3f3aec2
fix: add size bound for comparator_name manifest section
polaz 1e5df2d
test(manifest): add unit tests for comparator_name backward compat
polaz 950dd77
fix(manifest): add write-side name length assert, remove unwrap in tests
polaz 21274ba
test(comparator): add unit tests for DefaultUserComparator::name()
polaz 7ef2f7b
docs: qualify intra-doc links for UserComparator::name
polaz 599a90c
docs(persist): clarify why assert is used for name length check
polaz e9c4fc8
fix(recover): validate manifest before recover_levels
polaz b203516
test(manifest): add invalid UTF-8 comparator name rejection test
polaz e188171
test(table): exercise ReverseComparator::name() for coverage
polaz df99015
refactor: unify MAX_COMPARATOR_NAME_BYTES, downgrade mismatch log level
polaz e5f75e9
fix(comparator): use pub for module-private const, fix stale doc
polaz ac28340
fix(persist): return Result instead of panicking on oversized name
polaz 25ababa
style(table): use method syntax for ReverseComparator::name() call
polaz 6774175
test(comparator): add oversized name rejection test
polaz bbeeed5
fix(persist): include actual name length in oversized error message
polaz c4e4780
test(comparator): assert InvalidInput error kind for oversized name
polaz 27e5c0e
refactor(manifest): use read_to_end for comparator_name section
polaz 5efe609
refactor(manifest): simplify sfa::Writer::finish in test helpers
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
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
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.
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.