-
Notifications
You must be signed in to change notification settings - Fork 243
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
BulkIngester hangs #532
Comments
Pinging @elastic/es-data-management (Team:Data Management) |
The |
Maybe this is already solved in #502. |
I have tested this with the elasticsearch-java 7.17.10 snapshot and using 0
concurrent requests still produces a hangup
…On Wed, Mar 22, 2023 at 9:39 AM Ali Ariff ***@***.***> wrote:
Maybe this is already solved in #502
<#502>.
—
Reply to this email directly, view it on GitHub
<#532 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACJKQL3YZM6QXYOIEIXTYTTW5L6KJANCNFSM6AAAAAAV2ZMFPY>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Thanks for reporting this issue. The minimum number of concurrent requests is 1 to allow requests to be sent one at a time. PR #602 adds validations to |
Elasticsearch Version
7.17.9
Installed Plugins
No response
Java Version
bundled
OS Version
macOS Monterey version 12.6.2
Problem Description
BulkIngester hangs:
I add 100 documents to the ElasticSearch index with the BulkIngester.
When using maxConcurrentRequests(0) on the bulk ingester builder and invoking bulkIngester.flush() after adding the 100 documents to to the bulk ingester, the ingester hangs in the function public T whenReadyIf(BooleanSupplier canRun, Supplier fn) of the class FnCondition on line 82 condition.awaitUninterruptibly();
When using maxConcurrentRequests(1) the documents are ingested.
Steps to Reproduce
This is to code using the BulkIngester:
Logs (if relevant)
No response
The text was updated successfully, but these errors were encountered: