Open patriknw opened 2 years ago
Seems completed?
I think something is still missing in the implementation
Just hit this I think
If you perform Effect.delete
but don't stop the actor, then actor expects its sequence number is incremented so any subsequent update fails.
However, the DB expects that the sequence number should be 1 b/c it doesn't have a row in the database. The actor is now wedged.
DeletedDurableState in the query.
Also implement
deleteObject(persistenceId: String, revision: Long)
correctly, so that it keeps latest record but updates payload to null. Similar to how events are deleted. When loading it should continue from latest revision even if it is deleted.See https://github.com/akka/akka/pull/31529