elastic / rally

Macrobenchmarking framework for Elasticsearch

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add wait-for-completion support to force-merge

inqueue opened this issue · comments

Support for the ?wait_for_completion request parameter should be added to force-merge for configuring its blocking behavior. Force merge operations can take a very long time, resulting in unpredictable behavior when, for example, there is a proxy between the client and Elasticsearch.

The force-merge operation supports a polling mode that repeatedly monitors the tasks API for forcemerge activity once the force merge request times out. It would be best to rely on "wait on completion" instead of the timeout, or at least have it as an option.

Tasks