Details
-
Improvement
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
None
-
None
-
None
Description
There are cases where a query should be terminated instead of running to completion. In one particular case, we see ClusterNodeInfoDocument.all() needing 15 minutes on an Oracle database. In the context of this call, this essentially means the server is burning.
The API should allow setting a max. acceptable time for the query to complete, after which it should be terminated. With that, we could at least fail fast.