Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
1.8.0, 1.9.0, 1.10.0, 1.11.0, 2.0.0
Description
As part of FLINK-11551, the state machine of AkkaRpcActor has been updated to include 'terminating' and 'terminated' states. However, when actor termination request is handled, the resulting 'terminating' state is not updated by the FSM.
As a side-effect, isRunning() predicate can return that the actor is still running after terminate was initiated and to still handle messages.
I believe the fix is trivial and the private fieldĀ state should be updated with the return value of the call to state.terminate().
Feel free to adjust the priority accordingly.
Attachments
Issue Links
- links to