Closed
Description
Sometimes we have following situation in production: something breaks, we receive a retry storm, ES receives ton of requests, starts queueing them, then rejecting (and i think that's a common situation). Even if load is completely disabled ES takes some time to process all those queries, which are usually completely irrelevant at that moment; that can increase incident response time (i.e. if cause was fixed faster than queues were fully processed). My suggestion is to add new POST _cluster/???
endpoint, which would tell all nodes to flush everything they have in queues.