Akkling icon indicating copy to clipboard operation
Akkling copied to clipboard

AtLeastOnceDeliverySemantic does not trigger redeliver unless it's after a Replay

Open daniellittledev opened this issue 7 years ago • 1 comments

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

daniellittledev avatar Jan 10 '17 04:01 daniellittledev

I could fix this but I wanted to confirm that it would add a schedule for every at-least-once-delivery actor.

daniellittledev avatar Jan 10 '17 04:01 daniellittledev