Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
daniellittledev opened this issue Jan 10, 2017 · 1 comment
Labels

Comments

@daniellittledev
Copy link
Contributor

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:

| ReplaySucceed -> semantic.OnReplaySuccess()

https://github.com/akkadotnet/akka.net/blob/ff604c0cddab19388a7a71757e03c9960b930e30/src/core/Akka.Persistence/AtLeastOnceDeliverySemantic.cs#L656

@daniellittledev
Copy link
Contributor Author

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

@Horusiath Horusiath added the bug label Jul 31, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants