VizierDB / web-api-async

Vizier Asynchronous Web API
Apache License 2.0
2 stars 2 forks source link

Cancelling SQL cell execution blocks Mimir #58

Open okennedy opened 4 years ago

okennedy commented 4 years ago

Communication between Vizier and Mimir is synchronous, meaning that there's no way to asynchronously abort execution of a running Mimir query. The associated Vizier task aborts properly, but mimir keeps processing the query, blocking access to data until it finishes.

okennedy commented 4 years ago

A simple way to address this would be to add some sort of sentinel keeping an eye on the connection state. If the connection is killed, then we kill the worker.