Akkling
Akkling copied to clipboard
AtLeastOnceDeliverySemantic does not trigger redeliver unless it's after a Replay
In the following sample
https://github.com/Horusiath/Akkling/blob/master/examples/at-least-once-delivery.fsx
A redelivery will not be attempted if the echo actor crashes before it sends a Confirm message.
The underlying method StartRedeliverTask is never called the first time an actor starts.
Relevant lines: https://github.com/Horusiath/Akkling/blob/fa6474689475af0c327dfbfda1c2b1dbfcc54f40/src/Akkling.Persistence/AtLeastOnceDelivery.fs#L65
https://github.com/akkadotnet/akka.net/blob/ff604c0cddab19388a7a71757e03c9960b930e30/src/core/Akka.Persistence/AtLeastOnceDeliverySemantic.cs#L656
I could fix this but I wanted to confirm that it would add a schedule for every at-least-once-delivery actor.