Lune

USENIX ATC2022Top-tier venue

Modulo: Finding Convergence Failure Bugs in Distributed Systems with Divergence Resync Models

Beom Heyn Kim, Taesoo Kim, David Lie

Abstract

While there exist many consistency models for distributed systems, most of those models seek to provide the basic guarantee of convergence: given enough time and no further inputs, all replicas in the system should eventually converge to the same state. However, because of Convergence Failure Bugs (CFBs), many distributed systems do not provide even this basic guarantee. The violation of the convergence property can be crucial to safety-critical applications collectively working together with a shared distributed system. Indeed, many CFBs are reported as major issues by developers. Our key insight is that CFBs are caused by divergence, or differences between the state of replicas, and that a focused exploration of divergence states can reveal bugs in the convergence logic of real distributed systems while avoiding state explosion. Based on this insight, we have designed and implemented Modulo, the first Model-Based Testing tool using Divergence Resync Models (DRMs) to systematically explore divergence and convergence in real distributed systems. Modulo uses DRMs to explore an abstract state machine of the system and derive schedules, the intermediate representation of test cases, which are then translated into test inputs and injected into systems under test (SUTs). We ran Modulo to check ZooKeeper, Mon-goDB, and Redis and found 11 bugs (including 6 previously unknown ones)

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

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

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Multi-Grained Specifications for Distributed System Model Checking and Verification cites Model Checking Guided Testing for Distributed Systems
  • Multi-Grained Specifications for Distributed System Model Checking and Verification cites eXtreme Modelling in Practice
  • AutoMan: Facilitating Verified Distributed Systems Development Through Automatic Code Generation and Manual Optimizations cites Model Checking Guided Testing for Distributed Systems
  • AutoMan: Facilitating Verified Distributed Systems Development Through Automatic Code Generation and Manual Optimizations cites eXtreme Modelling in Practice
  • SandTable: Scalable Distributed System Model Checking with Specification-Level State Exploration cites Model Checking Guided Testing for Distributed Systems
  • SandTable: Scalable Distributed System Model Checking with Specification-Level State Exploration cites eXtreme Modelling in Practice
  • Model Checking Guided Testing for Distributed Systems cites eXtreme Modelling in Practice
  • An Empirical Study on Kubernetes Operator Bugs cites SandTable: Scalable Distributed System Model Checking with Specification-Level State Exploration
  • An Empirical Study on Kubernetes Operator Bugs cites Model Checking Guided Testing for Distributed Systems
  • An Empirical Study on Kubernetes Operator Bugs cites eXtreme Modelling in Practice
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers7

  1. Model Checking Guided Testing for Distributed SystemsDong Wang, Wensheng Dou, Yu Gao, Chenao Wu et al.EuroSys 2023 · 21 citations
  2. SandTable: Scalable Distributed System Model Checking with Specification-Level State ExplorationRuize Tang, Xudong Sun, Yu Huang, Yuyang Wei et al.EuroSys 2024 · 8 citations
  3. An Empirical Study on Kubernetes Operator BugsQingxin Xu, Yu Gao, Jun WeiISSTA 2024 · 7 citations
  4. Multi-Grained Specifications for Distributed System Model Checking and VerificationLingzhi Ouyang, Xudong Sun, Ruize Tang, Yu Huang et al.EuroSys 2025 · 4 citations
  5. AutoMan: Facilitating Verified Distributed Systems Development Through Automatic Code Generation and Manual OptimizationsZihao Zhang, Ti Zhou, Christa Jenkins, Omar Chowdhury et al.SOSP 2025 · 2 citations

Builds on1

  1. eXtreme Modelling in PracticeA. Jesse Jiryu Davis, Max Hirschhorn, Judah SchvimerVLDB 2020

Related papers

  1. Testing consensus implementations using communication closureCezara Dragoi, Constantin Enea, Burcu Kulahcioglu Ozkan, Rupak Majumdar et al.OOPSLA 2020 · 13 citations
  2. Model-Guided Fuzzing of Distributed SystemsEge Berkay Gulcan, Burcu Kulahcioglu Ozkan, Rupak Majumdar, Srinidhi NagendraOOPSLA 2025 · 3 citations
  3. Effective Concurrency Testing for Distributed SystemsXinhao Yuan, Junfeng YangASPLOS 2020 · 30 citations
  4. Agora: Toward Autonomous Bug Detection in Production-Level Consensus Protocols with LLM AgentsXiang Liu, Sa Song, Zhaowei Zhang, Huiying Lan et al.ICML 2026 · 1 citation
  5. Chronos: Finding Timeout Bugs in Practical Distributed Systems by Deep-Priority Fuzzing with Transient DelayYuanliang Chen, Fuchen Ma, Yuanhang Zhou, Ming Gu et al.S&P 2024 · 12 citations
Dusk over the sea between two cliffs drawn in fine vertical lines