You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We need some kind of protocol to handle the case when an application has told a listener to shutdown, so the listener tells the aggregator to shutdown, but the analysis back end is still wanting data. The client needs a way to check if the aggregator is shutting down, and if so, tell the aggregator to wait until the client gives it the OK. Something like
listener/aggregator begins a countdown of X seconds. If the client doesn't cancel within X seconds, it shuts down.
add a "heartbeat" request to the client API, so that the client can periodically check to see if the aggregator is in the "countdown" process. If so, the client has the ability to "cancel" that shutdown with another message.
listener/aggregator cancels shutdown countdown if producer client requested it, but the consumer client isn't done yet.
after client is done ingesting available data, it is then required to send a new shutdown message to the aggregator.
aggregator can then really shut down.
The text was updated successfully, but these errors were encountered:
A simple version of this can be done today with the existing feedback / event trigger system, but I agree a thorough review of shutdown protocols is worth doing so we design it to handle the complex workflow cases we're seeing out there, slow filesystems, MPI runtimes that terminate everything when a fork'ed() child exits, etc.
We need some kind of protocol to handle the case when an application has told a listener to shutdown, so the listener tells the aggregator to shutdown, but the analysis back end is still wanting data. The client needs a way to check if the aggregator is shutting down, and if so, tell the aggregator to wait until the client gives it the OK. Something like
The text was updated successfully, but these errors were encountered: