Delay deactivation on silo shutdown #9078
Unanswered
NicolaAtorino
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We use Orleans in a k8s cluster, and because of this there are cases where the pods are terminated due to external factors, for example cluster packing or cluster update.
We have several grains for which we should delay the deactivation until certain conditions are met, and this would basically mean that once the pod receives the SIGTERM the silo should not shutdown until these grains have completed their work (they have an internal timer).
Using DelayDeactivation() protects me only against deactivations caused by GarbageCollection, but it does not prevent the deactivation of a grain in case of silo shutdown.
basically i am asking for the possibility of doing this :
p.s. we are using an old version of Orleans, Orleans 3.X .
any help ?
Beta Was this translation helpful? Give feedback.
All reactions