Versions (relevant - OpenSearch/Dashboard/Server OS/Browser):
OpenSearch 2.11 and newer
Describe the issue:
This is more a question than an issue.
We are wondering what happens when a http client disconnects during a long-running query.
A typical example is a client sends a requests to OpenSearch cluster for some aggregations that may take a while, and that client times out.
Does the task running the search get killed automatically as a result of the client’s disconnection, or the task linger until it succeeds?
I know there are ways of killing tasks, using POST _tasks/_cancel
but I’m wondering if it is necessary in this scenario?