-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
elasticsearch would return a HTTP 200, even if the bulk request failed. This is a first patch to mitigate the "losing documents" issue (#5). We abort the indexing, if we encounter a single failed response and suggest the user to lower the number of workers (-w) or to increase thread_pool.bulk.queue_size in the elasticsearch configuration. Future versions of esbulk might transparently retry a failed operation some number of times, but that requires a detailed inspection of the error response and is therefore postponed from this fix.
- Loading branch information
Showing
1 changed file
with
45 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters