-
Notifications
You must be signed in to change notification settings - Fork 17
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
revision shouldn't be part of durable_state pk #558
Comments
I see that |
You mean the |
If akka verifies that there is always only one revision for a given persistence_id, I can not imagine how that column can improve the index. |
Seems we have that index also here: https://doc.akka.io/docs/akka-projection/current/r2dbc.html |
I agree, shouldn't be needed in the index. |
Just updated the script in the guide as well. |
We don't ever want to store more than one row for a persistence_id. The application logic takes care of it, but would be good to have a correct primary key.
The text was updated successfully, but these errors were encountered: