Lune

ICDE2023Top-tier venue

LCL: A Lock Chain Length-based Distributed Algorithm for Deadlock Detection and Resolution

Zhenkun Yang, Chen Qian, Xuwang Teng, Fanyu Kong, Fusheng Han, Quanqing Xu

Abstract

The problem of deadlock detection and resolution in database systems has been studied for decades. While it has long been a mature feature of classical centralized database systems for many years, its use in distributed database systems remains in its infancy. Don P. Mitchell and Michael J. Merritt (M&M) proposed a simple and fully distributed deadlock detection and resolution algorithm, but its assumption that each process waits on only one resource at a time prevents it from being generally applicable. Inspired by this algorithm, we design and implement LCL (Lock Chain Length), an elegant and generally applicable algorithm for resource deadlock detection and resolution in distributed environments without a restriction of the above kind. Our extensive emulation experiments show that the proposed approach LCL significantly outperforms the state-of-the-art competitor M&M. In addition, it has been applied to the OceanBase distributed relational database system, and our extensive experiments in OceanBase illustrate that LCL is also more efficient than M&M in deadlock detection and resolution.

Ask Lune

Know where this paper stands in minutes, not an afternoon.

Lune can read the top-tier papers that cite it and the ones closest to it, and tells you what it claims, what came after and where it falls short, each point cited to the paper it comes from. No skimming, no AI slop.

2 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

its abstract · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers2

  1. Functionality-Aware Database Tuning via Multi-Task LearningZhongwei Yue, Shujian Peng, Peng Cai, Xuan Zhou et al.ICDE 2024 · 2 citations
  2. HAWK: A Workload-driven Hierarchical Deadlock Detection Approach in Distributed Database SystemRongrong Zhang, Zhiwei Ye, Jun-Peng Zhu, Peng Cai et al.VLDB 2025 · 1 citation

Related papers

  1. Database Deadlock Diagnosis for Large-Scale ORM-Based Web ApplicationsZhiyuan Dong, Zhaoguo Wang, Chuanwei Yi, Xian Xu et al.ICDE 2023 · 7 citations
  2. SeqDLM: A Sequencer-Based Distributed Lock Manager for Efficient Shared File Access in a Parallel File SystemQi Chen, Shaonan Ma, Kang Chen, Teng Ma et al.SC 2022 · 2 citations
  3. Detock: High Performance Multi-region Transactions at ScaleCuong D. T. Nguyen, Johann K. Miller, Daniel J. AbadiSIGMOD 2023 · 14 citations
  4. Efficient, Scalable, and Fair Locking on Disaggregated Memory with Decentralized CoordinationHanze Zhang, Ke Cheng, Rong Chen, Xingda Wei et al.VLDB 2026
  5. Lock Violation for Fault-tolerant Distributed Database System*Hua Guo, Xuan Zhou, Le CaiICDE 2021 · 7 citations
Dusk over the sea between two cliffs drawn in fine vertical lines