Closed BaekGeunYoung closed 11 months ago
In the case of terminateEntities
, it is done before in terminateEntitiesOnShards
and terminateAllEntities
where we remove those queues from the map entirely. No new queue will be created because isEntityOnLocalShards
will return false in that case.
Aha thank you 😄
hello, I want to implement graceful shutdown and it seems that we need to use
terminateMessage
ofEntityManager
. I think that once the termination message is offered to queue, then subsequent messages should not be enqueued, so that the functionsend
can returnEntityNotManagedByThisPod
error after some retry. I can find out the code setting the state fromLeft[Queue]
toRight[Signal]
interminateEntity
, but not interminateEntities
. Is it intended? or the code should be fixed?