Repository navigation
Apply review feedback for universal IO gridstore pages - #8230
Merged
generall merged 2 commits intoFeb 25, 2026
Merged
Conversation
- Use `super::Result` import in mmap.rs instead of fully-qualified `crate::universal_io::Result` - Restructure ValuePointer destructuring in get_value and delete_value to first match Some(pointer), then destructure separately
generall
force-pushed
the
universal-io-gridstore-review-fixes
branch
from
February 25, 2026 16:44
0773376 to
eae1dac
Compare
…dstore::iter Use a trait bound instead of Either to combine callback and gridstore errors, allowing `?` to work directly on GridstoreError. This simplifies callers by removing Either matching and io::Error conversion workarounds.
This was referenced Feb 25, 2026
generall
added a commit
that referenced
this pull request
Feb 25, 2026
* [manunal] Gridstore page use universal IO * fmt * Apply review feedback for universal IO gridstore pages (#8230) * Apply review feedback from PR #8223 - Use `super::Result` import in mmap.rs instead of fully-qualified `crate::universal_io::Result` - Restructure ValuePointer destructuring in get_value and delete_value to first match Some(pointer), then destructure separately * Replace Either<E, GridstoreError> with E: From<GridstoreError> in Gridstore::iter Use a trait bound instead of Either to combine callback and gridstore errors, allowing `?` to work directly on GridstoreError. This simplifies callers by removing Either matching and io::Error conversion workarounds. --------- Co-authored-by: qdrant-claw <[email protected]> --------- Co-authored-by: qdrant-claw <[email protected]>
generall
added a commit
that referenced
this pull request
Mar 26, 2026
* [manunal] Gridstore page use universal IO * fmt * Apply review feedback for universal IO gridstore pages (#8230) * Apply review feedback from PR #8223 - Use `super::Result` import in mmap.rs instead of fully-qualified `crate::universal_io::Result` - Restructure ValuePointer destructuring in get_value and delete_value to first match Some(pointer), then destructure separately * Replace Either<E, GridstoreError> with E: From<GridstoreError> in Gridstore::iter Use a trait bound instead of Either to combine callback and gridstore errors, allowing `?` to work directly on GridstoreError. This simplifies callers by removing Either matching and io::Error conversion workarounds. --------- Co-authored-by: qdrant-claw <[email protected]> --------- Co-authored-by: qdrant-claw <[email protected]>
KShivendu
pushed a commit
that referenced
this pull request
Mar 30, 2026
* [manunal] Gridstore page use universal IO * fmt * Apply review feedback for universal IO gridstore pages (#8230) * Apply review feedback from PR #8223 - Use `super::Result` import in mmap.rs instead of fully-qualified `crate::universal_io::Result` - Restructure ValuePointer destructuring in get_value and delete_value to first match Some(pointer), then destructure separately * Replace Either<E, GridstoreError> with E: From<GridstoreError> in Gridstore::iter Use a trait bound instead of Either to combine callback and gridstore errors, allowing `?` to work directly on GridstoreError. This simplifies callers by removing Either matching and io::Error conversion workarounds. --------- Co-authored-by: qdrant-claw <[email protected]> --------- Co-authored-by: qdrant-claw <[email protected]>
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.
Summary
Addresses review feedback from #8223:
use super::Resultinmmap.rsinstead of fully-qualifiedcrate::universal_io::Result(per @ffuugoo nit)ValuePointerdestructuring inget_valueanddelete_valueto first matchSome(pointer), then destructure separately (per @ffuugoo suggestion)Test plan
Made with Cursor