-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Milestone
Description
Version Information
Version of Akka.NET? 1.5.28
Which Akka.NET Modules? Akka.Persistence
Describe the bug
Bug appears to be in method CallThrough of class AtomicState. If WaitAsync(Timeout timeout) completes before the task implemented by SnapshotStore/Journal, and the task in question throws an exception, then this exception will become unobserved.
To Reproduce
- Snapshot loading takes longer than call timeout specified by Akka framework, and Snapshot call throws an exception.
Expected behavior
Would expect Akka framework to observe exception thrown by SnapshotStore/Journal.
Actual behavior
Causes unobserved task exception and crashes our service.
Environment
Windows Service and .NET 7