Hello dear people,
I'm doing some tests around protecting an Elasticsearch cluster from long-running queries, and my results show that settings request timeout to, let's say, 20s is not the same as attempting to cancel a running search after 20s with Task API. Cancellation proves to be more effective. I haven't checked the source code, just wanted to double check my test results with you. Would love if you can share some details of internal mechanisms involved in timing out requests as well as cancelling them and how these mechanisms are different from each other. My ES version is 6.3.0
Thank you!