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

Akka.Cluster.Sharding: need to log warnings when being run with state-store-mode=persistence and InMemoryJournal is being used #7289

Open
Aaronontheweb opened this issue Jul 22, 2024 · 0 comments

Comments

@Aaronontheweb
Copy link
Member

Is your feature request related to a problem? Please describe.

One of the causes to #6973, indicated by the user's reported configuration on #7285 (reply in thread), is that they were running Akka.Cluster.Sharding with the system defaults - which are inherently unsafe for production use.

Describe the solution you'd like

We should do two things:

  1. Make state-store-mode=ddata the default - we'd already planned on doing this as part of v1.6.
  2. Log an unmissable warning that the settings you are running with are unsafe and that you can fix it by either using DData or by using a real persistence implementation.

Describe alternatives you've considered

I've considered making DData the default sooner but won't feel comfortable doing that until our next minor release - that's the right "cadence" to disseminate the change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant