restatedev / restate

Restate is the platform for building resilient applications that tolerate all infrastructure faults w/o the need for a PhD.
https://docs.restate.dev
Other
1.66k stars 38 forks source link

Partition Processor no longer gets shut down properly #2341

Open pcholakov opened 1 week ago

pcholakov commented 1 week ago

Somewhere between https://github.com/restatedev/restate/commit/8109b5f77e0bd02c324bae6a68843c67ae9e280b and is there after https://github.com/restatedev/restate/commit/96f4bfcaf5cc92b4e44ba930500234d1ffba04d2, the Partition Processor cancellation behavior changed and is no longer being cleanly stopped when the managed runtimes get shutdown.

This change or something connected to it might be causing the Partition Processor (which runs on the root future of the partition-specific runtime) not to get a shutdown signal anymore.

Originally posted by @pcholakov in 0cc9816