Tagged articles
2 articles
Page 1 of 1
Aikesheng Open Source Community
Aikesheng Open Source Community
Jul 13, 2021 · Databases

Analyzing and Resolving MySQL Global Read‑Lock Deadlocks in Parallel Replication

The article investigates a MySQL 8.0.18 replication deadlock caused by numerous set global read_only commands, explains the lock‑waiting chain involving global read and commit locks, reproduces two deadlock scenarios, and proposes practical solutions such as killing offending sessions or disabling slave_preserve_commit_order.

deadlockglobal read lockperformance_schema
0 likes · 14 min read
Analyzing and Resolving MySQL Global Read‑Lock Deadlocks in Parallel Replication