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 Concurrent Deployment Issue via Zookeeper #838

Merged
merged 46 commits into from
May 22, 2024

Conversation

wanliAlex
Copy link
Collaborator

  • What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
    Bug fix, feature

  • What is the current behavior? (You can also link to an open issue here)
    We don't have any concurrency protection on create/delete index.
    If multiple threads are creating/deleting indexes at the same time, Marqo will face a race condition

  • What is the new behavior (if this is a feature change)?
    We use the Zookeeper inside Vespa to implement a distributed lock. The lock will solve the concurrent issue.

  • Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)
    no

  • Have unit tests been run against this PR? (Has there also been any additional testing?)
    in progress

  • Related Python client changes (link commit/PR here)

no

  • Related documentation changes (link commit/PR here)
    no

  • Other information:
    no

  • Please check if the PR fulfills these requirements

  • The commit message follows our guidelines
  • Tests for the changes have been added (for bug fixes/features)
  • Docs have been added / updated (for bug fixes / features)

farshidz
farshidz previously approved these changes May 21, 2024
@farshidz farshidz merged commit ac7691c into mainline May 22, 2024
10 checks passed
@farshidz farshidz deleted the li/fix-concurrent-deployment branch May 22, 2024 00:40
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.

None yet

2 participants