vmware-archive / database-stream-processor

Streaming and Incremental Computation Framework
Other
225 stars 20 forks source link

Force pipeline termination from pipeline manager #397

Open ryzhyk opened 1 year ago

ryzhyk commented 1 year ago

The runner handles the /shutdown command by first calling controller.stop() and then sending a termination message to the actix dispatch loop. Both operations can be slow or even get stuck in some cases. We will need a way to enforce eventual termination from the pipeline manager by killing the process/pod after a timeout.

@lalithsuresh

lalithsuresh commented 1 year ago

@ryzhyk I get the operations being slow, but do we know when/why they get stuck? Because that would be a bug.

ryzhyk commented 1 year ago