Skip to content

Conversation

@Arkatufus
Copy link
Contributor

@Arkatufus Arkatufus commented Oct 18, 2024

Fixes #7359

Add logging when DeleteAsync() was called in SaveSnapshotFailure handler and failed.

According to scala spec, persistence does not care if DeleteAsync() after failed snapshot save failed or not, DeleteAsync() operation is done in parallel with whatever is next on the persistence queue, which sped up the SaveSnapshotFailure handler execution. To fully fix this we would need to block longer and signal SaveSnapshotFailure after the DeleteAsync() operation is completed.

Changes

  • Add logging

Copy link
Member

@Aaronontheweb Aaronontheweb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Aaronontheweb Aaronontheweb merged commit de98c10 into akkadotnet:dev Oct 23, 2024
10 of 12 checks passed
This was referenced Oct 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

A failure in snapshot save can cause unobserved task exception

2 participants