-
Notifications
You must be signed in to change notification settings - Fork 142
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
Removes logical deletion #569
Removes logical deletion #569
Conversation
Thanks @nvollmar for puting this in motion. This is a rather important behavioral change so, IMHO it should be prominently explained on the docs and release notes. Maybe even justifies the bump of the MAJOR version of the plugin (as a user I'd be very pissed if a PATCH release included such a change sneakily). Would you be able to review the docs for places where delete is mentioned and amend them? Thanks! |
In general, SQL queries must still filter by |
Do we already have documentation on the safest procedure to move from |
I agree that this would be quite a significant change that should be mentioned prominently in the release notes. As mentioned in Issue #557, this feature is deprecated and warned. If a major release is warranted, then the feature might also be removed at the same time to clean everything up. I didn't find any relevant mentioning of deletion in the docs. |
There is no mentioning of logical deletion anywhere in the |
Thanks for checking. Maybe, since there's already a deprecation warning and changing the default value of the setting already requires a MAJOR version bump, maybe we could just drop the setting and the feature altogether so users migrating to that major version will have to adopt the new behavior. |
I've added the removal of this feature to this PR |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice! thanks @nvollmar
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @nvollmar
I'm ok to remove it since deprecated for quite some time. I don't think we will need a 6.0 version. I think it's ok if removed in 5.1
@nvollmar, we will need MiMa exclusions. |
@octonato Added mima excludes |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@nvollmar sorry for the delay here. Would you be able to fix the conflicts? I think this is ready to be merged after that. |
Note that the failing job is running with some custom parameters:
|
I'll have to backtrack the changes and see what might cause this |
I'm quite convinced that the Oracle case in akka.persistence.jdbc.query.dao.legacy.ByteArrayReadJournalDao was broken already before this change when using logicalDelete=false I will merge this and then mark the failing tests as pending in a separate PR. I don't think we care that much about the legacy.ByteArrayReadJournalDao |
References #557