Repository navigation
Conversation
Member
|
please rebase to latest dev, there are fixes for poetry version |
Member
Author
|
This is a PR for Perhaps, we need to cherry-pick that poetry fix to the |
Member
|
If we are going to patch release, it will likely be from dev, I don't think we need changes in master |
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.
The change #5491 (included in version v1.12.5) introduced the following crash when reading some old snapshots.
Repro:
Results in the following crash in
graph_links.rs:490:Reason: old versions of qdrant (before v1.8.2) did store graph links offsets in a non-aligned array, but the new code assumes it's aligned. For the reference, non-faulty code snippet in
v0.12.4usesu64::from_ne_bytes.qdrant/lib/segment/src/index/hnsw_index/graph_links.rs
Lines 517 to 524 in 5b578c4
This PR replaces usage of
u64withzerocopy::native_endian::U64which doesn't require alignment. This is a fix for themasterbranch, there will be a separate PR for thedevbranch.