We have assumed that the handlers can be popped when replies come back from journal, but if messages to journal are in flight when the actor is restarted the handlers does not match up with journal replies. This solution ignores journal replies that were emitted by an old PersistentActor instance by passing an uid with the journal messages. This means that the handler will not be invoked for such messages. (cherry picked from commit 7ebaaab669c9e467a1ffb4d9ed8b6500e1801a7c) Conflicts: akka-persistence/src/main/scala/akka/persistence/JournalProtocol.scala akka-persistence/src/main/scala/akka/persistence/Processor.scala akka-persistence/src/main/scala/akka/persistence/journal/AsyncWriteJournal.scala |
||
|---|---|---|
| .. | ||
| _sphinx | ||
| rst | ||
| .history | ||
| build.sbt | ||