You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"Received timer [{}] that has been removed, discarding"
The reason is that if the PersistentActor is waiting for persist confirmation it will stash the incoming message, and the TimerSchedulerImpl.interceptTimerMsg (called from aroundReceive before the PersistentActor.aroundReceive) has then already processed the msg. When it is unstashed it's discarded.
I think we can't support mixing in that order PersistentActor with Timers. It must be Timers with PersistentActor.T hat is also somewhat difficult because PersistentActor aroundReceive is terminal, but I think we can make it aware of Timers.
The text was updated successfully, but these errors were encountered:
* the order was also wrong in the AbstractPersistentActorWithTimers
* mima complains about this change for AbstractPersistentActor and
AbstractPersistentActorWithAtLeastOnceDelivery, but I think it is ok
* the order was also wrong in the AbstractPersistentActorWithTimers
* mima complains about this change for AbstractPersistentActor and
AbstractPersistentActorWithAtLeastOnceDelivery, but I think it is ok
…kka#24081)
* the order was also wrong in the AbstractPersistentActorWithTimers
* mima complains about this change for AbstractPersistentActor and
AbstractPersistentActorWithAtLeastOnceDelivery, but I think it is ok
It will be seen in debug logs as
The reason is that if the PersistentActor is waiting for persist confirmation it will stash the incoming message, and the
TimerSchedulerImpl.interceptTimerMsg
(called from aroundReceive before the PersistentActor.aroundReceive) has then already processed the msg. When it is unstashed it's discarded.I think we can't support mixing in that order
PersistentActor with Timers
. It must beTimers with PersistentActor
.T hat is also somewhat difficult because PersistentActor aroundReceive is terminal, but I think we can make it aware of Timers.The text was updated successfully, but these errors were encountered: