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

[Ecommerce][IndexService] fillupPreparationQueue can produce deadlocks #5499

Open
markus-moser opened this issue Dec 20, 2019 · 1 comment
Open

Comments

@markus-moser
Copy link
Contributor

@markus-moser markus-moser commented Dec 20, 2019

Under certain cercumstances the following exception might happen:

An exception occurred while executing 'UPDATE ecommerceframework_productindex_store_elastic SET in_preparation_queue = 1 WHERE tenant = ? AND o_id IN (35795,36015,36214,36343,36344,35796,36215,36016)' 

This happens when I save an object and the fillupPreparationQueue statements get's executed by the event listener. If the process queue cronjob runs for the same items, deadlocks might occur.

@fashxp

This comment has been minimized.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.