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

Frequent deadlocks on mailchimp_ecommerce_sync_data #1190

Open
seansan opened this issue Sep 3, 2020 · 5 comments
Open

Frequent deadlocks on mailchimp_ecommerce_sync_data #1190

seansan opened this issue Sep 3, 2020 · 5 comments

Comments

@seansan
Copy link
Contributor

seansan commented Sep 3, 2020

M1.9.4.x
php 7.2
Version 1.1.20

We see frequent deadlocks on mailchimp_ecommerce_sync_data

Which is strange because the mailchimp extension is the only code accessing this data .... so in effect the same extension is locking itself out?

Preconditions

  1. install and use

Steps to reproduce

  1. install and use

Expected result

No DB lock or at least a retry

Actual result

1213 Deadlock found when trying to get lock; try restarting transaction, query was: UPDATE mailchimp_ecommerce_sync_data SET related_id = ?, type = ?, mailchimp_store_id = ?, mailchimp_sync_error = ?, mailchimp_sync_delta = '2020-09-02 09:28:59', mailchimp_sync_modified = ?, mailchimp_sync_deleted = ?, mailchimp_token = ?, batch_id = ?, deleted_related_id = ?, mailchimp_synced_flag = ? WHERE (id='15854797')

This is

innodb_lock_wait_timeout = 3600

so even after 3600 seconds it cannot access the table

@Santiagoebizmarts
Copy link
Contributor

Hello @seansan

Could you share your batch amounts configured in the extension?

Kind Regards,

@seansan
Copy link
Contributor Author

seansan commented Sep 4, 2020 via email

@ste88
Copy link

ste88 commented Nov 4, 2020

I have same problem.

M1.9.3.1
Version 1.1.20

On place order, after creation of order, the mailchimp code generates frequently exception deadlock that prevents the creation of order.

CONFIG
Customer amount to be sent for run: 100
Product amount to be sent for run: 50
Order amount to be sent for run: 50
Cart amount to be sent for run: 100

@seansan
Copy link
Contributor Author

seansan commented Nov 4, 2020 via email

@sprankhub
Copy link
Contributor

Check if #1178 helps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants