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

Add DeleteAsync failure logging #7360

Merged
merged 1 commit into from
Oct 23, 2024

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
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