Skip to content
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

Fix Vector Count Mismatch during Client Migration #403 #428

Merged
merged 3 commits into from
Jan 11, 2024

Conversation

shivas1516
Copy link
Contributor

Client Migration Fix

Resolve vector count mismatch during client migration. The problem was due to missing <wait=True> in the <upload_records> calls. This commit adds <wait=True> to ensure proper synchronization and resolves the vector count mismatch.

All Submissions:

  • Contributions should target the dev branch. (Yes, created branch from dev)
  • Have you followed the guidelines in our Contributing document? (Yes)
  • Have you checked to ensure there aren't other open Pull Requests for the same update/change?

New Feature Submissions:

  1. Does your submission pass tests?
  2. Have you installed pre-commit with pip3 install pre-commit and set up hooks with pre-commit install?

Changes to Core Features:

  • Have you added an explanation of what your changes do and why you'd like us to include them? (Yes, explanation included in the commit message)
  • Have you written new tests for your core changes, as applicable?
  • Have you successfully run tests with your changes locally?

…during client migration. The problem was due to missing in the calls. This commit adds to ensure proper synchronization and resolves the vector count mismatch.
Copy link

netlify bot commented Jan 8, 2024

Deploy Preview for poetic-froyo-8baba7 ready!

Name Link
🔨 Latest commit e1e67c5
🔍 Latest deploy log https://app.netlify.com/sites/poetic-froyo-8baba7/deploys/65a0101d696d670007d16d23
😎 Deploy Preview https://deploy-preview-428--poetic-froyo-8baba7.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Member

@joein joein left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your interest and contribution!

I guess we may have more complaints about timeouts with these changes, but let's try it out

It also does not make a lot of sense to me to add wait parameter to the _migrate_collection signature, since it is not exposed to the user

And I don't want to make the signature of migrate more complex

qdrant_client/migrate/migrate.py Outdated Show resolved Hide resolved
qdrant_client/migrate/migrate.py Outdated Show resolved Hide resolved
@joein joein merged commit efb876f into qdrant:master Jan 11, 2024
9 checks passed
joein added a commit that referenced this pull request Jan 19, 2024
* Addresses issue #403 where the vector counts were inconsistent during client migration. The problem was due to missing  in the  calls. This commit adds  to ensure proper synchronization and resolves the vector count mismatch.

* Update qdrant_client/migrate/migrate.py

* Update qdrant_client/migrate/migrate.py

---------

Co-authored-by: George <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants