Repository navigation
Fix peer version check in CI, use local telemetry - #8016
Merged
Merged
Conversation
generall
approved these changes
Jan 30, 2026
agourlay
approved these changes
Jan 30, 2026
generall
pushed a commit
that referenced
this pull request
Feb 9, 2026
3 tasks done
KShivendu
pushed a commit
that referenced
this pull request
Mar 30, 2026
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.
Follow up of #8002
Attempts the following CI flakiness:
Example failure: https://github.com/qdrant/qdrant/actions/runs/21488737648/job/61905153631
Peer versions are exposed in multiple ways. First, each peer reports their own current version. Second, each peer also propagates their version through consensus as 'peer metadata'. Peers reporting their own version always works immediately. Versions in peer metadata take some time to appear because it needs to be propagated through consensus.
Before this PR the tests used cluster level telemetry. It uses local peer versions by querying each node explicitly. It means the version would immediately be visible once all nodes started.
Resharding logic in core validates all peers are running a sufficient version. It uses the consensus based version instead.
And there you have the data race. The test thinks all peers have their version available. But if the versions were yet to be propagated through consensus resharding would fail with the above error.
This fix adjusts the test to query the consensus based versions instead. It uses the local telemetry for this, instead of the consensus level telemetry.
All Submissions:
devbranch. Did you create your branch fromdev?