Elasticsearch not respecting the default timeout in bulk api

The default value for timeout in bulk api is 30s in 7.2 elasticsearch
https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-bulk.html

Our bulk request usually contain 5-10 actions. However we've observed the request to go beyond 30s (and around minutes too)

I was wondering what is the 30 second timeout? Is it the timeout of the overall bulk request or the individual actions in it?

NOTE: this is rare but happens when documents of size larger than 3mb get updated. we are working on reducing the document size. But for now we want the request to terminate immediately (20s or default 30s) so that our application side threadpool queue slot gets freed up for other good requests to be processed

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.