Lune

VLDB2020顶会

IsoDiff: Debugging Anomalies Caused by Weak Isolation

Yifan Gan, Xueyuan Ren, Drew Ripberger, Spyros Blanas, Yang Wang

摘要

Weak isolation levels, such as Read Committed and Snapshot Isolation, are widely used by databases for their higher concurrency, but may introduce subtle correctness errors in applications that only experts can identify. This paper proposes IsoDi , a tool to help a developer debug the anomalies caused by weak isolation for an application. To address the challenge that the number of anomalies can be non-polynomial with respect to the number of types of transactions, IsoDi finds a representative subset of anomalies involving di erent transactions, operations, and problematic patterns. To reduce false positives, IsoDi proposes two novel methods (correlation detection and timing relationship check) to eliminate as many false positives as possible and further provides a mechanism to incorporate the developer's feedback to eliminate the remaining ones. The evaluation of IsoDi on TPC-C and seven real applications under Snapshot Isolation and Read Committed isolation shows that IsoDi can balance computation time and the coverage of anomalies; it can automatically eliminate a significant portion of false positives; and its feedback mechanism allows a developer to express the root cause of false positives, which can eliminate many false positives with only a small number of developer hints.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 10 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Dynamic Partial Order Reduction for Checking Correctness against Transaction Isolation Levels 引用了 MonkeyDB: effectively testing correctness under weak isolation levels
  • Detecting Isolation Bugs via Transaction Oracle Construction 引用了 MonkeyDB: effectively testing correctness under weak isolation levels
  • Plume: Efficient and Complete Black-Box Checking of Weak Isolation Levels 引用了 Efficient Black-box Checking of Snapshot Isolation in Databases
  • Efficient Black-box Checking of Snapshot Isolation in Databases 引用了 MonkeyDB: effectively testing correctness under weak isolation levels
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper10

  1. Detecting Isolation Bugs via Transaction Oracle ConstructionWensheng Dou, Ziyu Cui, Qianwang Dai, Jiansen Song 等ICSE 2023 · 21 次引用
  2. MonkeyDB: effectively testing correctness under weak isolation levelsRanadeep Biswas, Diptanshu Kakwani, Jyothi Vedurada, Constantin Enea 等OOPSLA 2021 · 18 次引用
  3. Efficient Black-box Checking of Snapshot Isolation in DatabasesKaile Huang, Si Liu, Zhenge Chen, Hengfeng Wei 等VLDB 2023 · 18 次引用
  4. Plume: Efficient and Complete Black-Box Checking of Weak Isolation LevelsSi Liu, Long Gu, Hengfeng Wei, David A. BasinOOPSLA 2024 · 9 次引用
  5. Dynamic Partial Order Reduction for Checking Correctness against Transaction Isolation LevelsAhmed Bouajjani, Constantin Enea, Enrique Román-CalvoPLDI 2023 · 7 次引用

相关 Paper

  1. AWDIT: An Optimal Weak Database Isolation TesterLasse Møldrup, Andreas PavlogiannisPLDI 2025 · 5 次引用
  2. Detecting Isolation Anomalies in Relational DBMSsRui Yang, Ziyu Cui, Wensheng Dou, Yu Gao 等ISSTA 2025 · 3 次引用
  3. DBStorm: Generating Various Effective Workloads for Testing Isolation LevelsKeqiang Li, Siyang Weng, Lyu Ni, Chengcheng Yang 等ISSTA 2024 · 5 次引用
  4. Fast Verification of Strong Database IsolationZhiheng Cai, Si Liu, Hengfeng Wei, Yuxing Chen 等VLDB 2026
  5. Leopard: A Black-Box Approach for Efficiently Verifying Various Isolation LevelsKeqiang Li, Siyang Weng, Peiyuan Liu, Lyu Ni 等ICDE 2023 · 3 次引用
黄昏的海面,两侧是细线勾勒的悬崖