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

[5.4] detect lock wait timeout as deadlock #19749

Merged
merged 1 commit into from
Jun 25, 2017

Conversation

roblambell
Copy link

Deadlock detection can be disabled to improve performance and lock wait timeout relied on instead

https://dev.mysql.com/doc/refman/5.7/en/innodb-deadlock-detection.html

On high concurrency systems, deadlock detection can cause a slowdown when numerous threads wait for the same lock. At times, it may be more efficient to disable deadlock detection and rely on the innodb_lock_wait_timeout setting for transaction rollback when a deadlock occurs. Deadlock detection can be disabled using the innodb_deadlock_detect configuration option.

@roblambell roblambell changed the title detect lock wait timeout as deadlock [5.4] detect lock wait timeout as deadlock Jun 24, 2017
@taylorotwell taylorotwell merged commit bc0f60b into laravel:5.4 Jun 25, 2017
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

Successfully merging this pull request may close these issues.

2 participants