Make a distributed query failed when timeout #531
Labels
✨ enhancement
New feature or request
osctrl-admin
osctrl-admin related changes
osctrl-tls
osctrl-tls related changes
queries
On-demand queries related issues
Currently, when the nodes push new distributed query results back to osctrl, it checks if the query is completed. However, for some of the nodes, it may become inactive and would never send the results back, which would result in the distributed query in active forever.
I would suggest adding a timeout section for each distributed query, i.e. if the query is not completed within X time, we mark the distributed query as failed/inactive and remove the relevant records in
DistributedQueryExecution
table.The text was updated successfully, but these errors were encountered: