-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
Prevent change log entry when nothing has changed #4893
Conversation
We are running stable with this change for 1 month now. |
Any updates on this ticket? |
Hi @ajpevers |
Updated with |
I think that I might have time this week to look into the checks, bear with me |
Fixes magento#2987 If an entry has no changes but did get a MySQL UPDATE the trigger will not fire. This prevents entities from being reindexed when they haven't changed. This way the refresh index cron job finishes faster without any loss of functionality. This updated_at column is ignored because this is the only column that will always change, even if no attribute has been edited.
@ishakhsuvarov I've fixed errors that came up in the unit tests |
@ishakhsuvarov Done |
[Magento Community Engineering] Community Contributions - 2.3-develop latest changes
Fixes #2987
If an entry has no changes but did get a MySQL UPDATE the trigger will not fire.
This prevents entities from being reindexed when they haven't changed.
This way the refresh index cron job finishes faster without any loss of functionality.
This updated_at column is ignored because this is the only column that will always change, even if no attribute has been edited.