-
Notifications
You must be signed in to change notification settings - Fork 191
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
[BUG] Upsert in bulk might have some issue #869
Comments
@kkondaka Can you please add the stack trace here as well? Also, please fill in the required details in the issue like opensearch version. java client version etc. @reta I see there was a fix for upsert in bulk in one of the previous versions. Any suggestions on why the operation might be failing? I see that the test |
@VachaShah I think I have an idea why it may fail:
For upsert, the |
We have root caused the issue to a bug in our code. The upsert operation is working as expected. And yes, we always have "id" in these cases even though the code has it as optional. This issue can be closed. |
Great! Thank you @kkondaka for adding the update. Closing this issue. |
What is the bug?
@kkondaka reported that they are facing some issue when using the upsert operation in bulk in data-prepper. https://github.com/opensearch-project/data-prepper/blob/main/data-prepper-plugins/opensearch/src/main/java/org/opensearch/dataprepper/plugins/sink/opensearch/OpenSearchSink.java#L312-L328
How can one reproduce the bug?
Steps to reproduce the behavior.
What is the expected behavior?
A clear and concise description of what you expected to happen.
What is your host/environment?
Operating system, version.
Do you have any screenshots?
If applicable, add screenshots to help explain your problem.
Do you have any additional context?
Add any other context about the problem.
The text was updated successfully, but these errors were encountered: