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
Drop indexer changelog tables on mview unsubscribe #25859
base: 2.4-develop
Are you sure you want to change the base?
Conversation
This means that the issue solved in MAGETWO-51078 (6ae3c48) is not reintroduced by this changeset.
Hi @fredden. Thank you for your contribution
For more details, please, review the Magento Contributor Guide documentation. |
This fixes a problem where mview gets "stuck" if interrupted, for example during deployment.
@magento run all tests |
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.
Hi @fredden,
Could you review and fix failing tests?
The requested builds are added to the queue. You should be able to see them here within a few minutes. Please message the #magento-devops slack channel if they don't show in a reasonable amount of time and a representative will look into any issues. |
It seems that bot moved this PR to review hence moving it back to Pending Approval. |
@engcom-Charlie, please can you provide an update on this pull request. |
@magento run all tests |
@magento run all tests |
@magento run all tests |
@magento run WebAPI Tests,Integration Tests,Functional Tests EE ,Functional Tests CE,Functional Tests B2B |
Description (*)
This pull request will remove the unused changelog tables when changing an index from 'update on schedule' to 'update on save'.
From what I can tell, this was the case before 6ae3c48 was merged. I have tried to avoid any regressions here by marking the index as invalid when dropping the table, to catch any entries which might have otherwise been missed. It seems that 6ae3c48 only protects missed changelog entries if the index is switched back to 'update on schedule'. The change introduced here solves that problem by always performing a full index (via normal minutely cron).
Fixed Issues
Manual testing scenarios (*)
version_id
column inmview_state
table.version_id
column inmview_state
table.Questions or comments
I am not confident that I have fully covered all changes here in unit tests. Please may I have some advice as to how I might need to adjust the unit tests to ensure no regressions.
Contribution checklist (*)
Resolved issues: