-
Notifications
You must be signed in to change notification settings - Fork 111
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
bugfix: adjusts to use retry_on_conflict on bulk #215
bugfix: adjusts to use retry_on_conflict on bulk #215
Conversation
ead387d
to
4a179dd
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved, this is necessary when we work with simultaneous updates!
Thank you! Can you please add a unit test for this, since we've visibly introduced a bug? |
Signed-off-by: Nicolas Barbosa <nicolas.barbosa@fretebras.com.br>
4a179dd
to
a0c0438
Compare
hello @dblock, I added a unit test for this case, can you review again please? |
Looking good! I unblocked tests. Add an entry to https://github.com/opensearch-project/opensearch-go/blob/main/CHANGELOG.md and I think this will be good to go assuming tests pass. Thank you. |
214c9e3
to
4f04817
Compare
Signed-off-by: Nicolas Barbosa <nicolas.barbosa@fretebras.com.br>
4f04817
to
bf2cf60
Compare
@dblock done =D |
Thank you @nicolascb! Unblocking the tests. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @nicolascb for fixing this!
Description
Bug fix.
Adjust to set
retry_on_conflict
when using bulk indexer.By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.