EventSourcedBehavior.lastSequenceNumber incorrect values after recovery #32359
Labels
1 - triaged
Tickets that are safe to pick up for contributing in terms of likeliness of being accepted
bug
t:persistence
t:typed
Calling
EventSourcedBehavior.lastSequenceNumber
in the event handler returns incorrect value after entity recovery:Example for a new entity:
After recovery:
When debugging, I've noticed that instead of the first event handler (after recovery) will still use
akka.persistence.typed.internal.ReplayingEvents#currentSequenceNumber
, and the following one will switch toakka.persistence.typed.internal.Running.HandlingCommands#currentSequenceNumber
.The text was updated successfully, but these errors were encountered: