-
Notifications
You must be signed in to change notification settings - Fork 801
how to use retry_on_conflict on update #1316
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
Comments
would like to know as well |
@zoebraiyan I ended up using elasticsearch-py connection.update() directly and retry_on_conflict works properly |
can you give more details? i quite don't understand, when i use
|
same issue here. Although retry_on_conflict parameter was added to Document.update() in this library, it seems that version is always passed as well so the problem actually isn't resolved and retry doesn't occur. |
I managed to work around this #1432 by overriding |
retry_on_conflict cannot be used if version number is passed. How to not pass the version number when calling update method on document.
The text was updated successfully, but these errors were encountered: