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

[FEAT] safely update documents with optimistic locking #4

Closed
jillesvangurp opened this issue May 29, 2022 · 1 comment
Closed

[FEAT] safely update documents with optimistic locking #4

jillesvangurp opened this issue May 29, 2022 · 1 comment

Comments

@jillesvangurp
Copy link
Owner

Similar to what the repository did in the old client

  • GET current version
  • apply changes
  • index with seq_no, and primary_term set
  • retry a configurable number of times in case of version conflicts
@jillesvangurp
Copy link
Owner Author

part of the IndexRepository

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

No branches or pull requests

1 participant