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

chore: fix logging for optional snapshots when deleting events #32227

Merged

Conversation

sebastian-alfers
Copy link
Contributor

@sebastian-alfers sebastian-alfers commented Nov 10, 2023

Here, optional refers to fact if loading a snapshot is allowed to fail.

It may even be that this logging is currently not triggered based on this condition: https://github.com/akka/akka/blob/main/akka-persistence-typed/src/main/scala/akka/persistence/typed/internal/BehaviorSetup.scala#L79-L86

@johanandren
Copy link
Member

But I'm, just like you, not entirely sure it will ever reach that point with that initial check in place.

Copy link
Member

@patriknw patriknw left a comment

Choose a reason for hiding this comment

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

good, but one more...

@sebastian-alfers sebastian-alfers merged commit 6d90dac into akka:main Nov 13, 2023
5 checks passed
@sebastian-alfers sebastian-alfers deleted the fix-optional-snapshot-logging branch November 13, 2023 16:34
He-Pin pushed a commit to He-Pin/akka that referenced this pull request Jan 7, 2024
…32227)

* chore: fix logging for optional snapshots when deleting events
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants