-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Akka.Persistence.Query.Sql: PersistenceIds
hangs after about 2 hours
#6365
Comments
|
Are we thinking that this is an |
And let me check with the original user if their app ever went to sleep |
Found the real cause, its the way non-blocking async "Ask" is being set up inside |
that's fantastic detective work - nice job @Arkatufus |
Version Information
Version of Akka.NET? v1.4.48
Which Akka.NET Modules? Akka.Persistence.Query.Sql and Akka.Persistence.SqlServer
Describe the bug
When running the following query:
https://github.com/petabridge/akkadotnet-code-samples/blob/ed35dfd4ee862e68afe6abdd825a9f3029d382ed/src/clustering/sharding-sqlserver/SqlSharding.Host/Actors/ProductIndexActor.cs#L80-L89
This query will cease to produce new Akka.Stream items after approximately 2 hours (don't have an exact measurement) even though new PersistenceIds are being committed to the event journal. Restarting the query will reproduce all of the missing events.
To Reproduce
Steps to reproduce the behavior:
README.md
Expected behavior
Query should continue producing new events indefinitely.
Actual behavior
Query stopped, raised no errors, and stopped producing
Environment
SQL Server latest running on Linux, .NET 6 running on Linux - although I don't think it matters.
The text was updated successfully, but these errors were encountered: