Anvil: Verifying Liveness of Cluster Management Controllers
Xudong Sun, Wenjie Ma, Jiawei Tyler Gu, Zicheng Ma, Tej Chajed, Jon Howell, Andrea Lattuada, Oded Padon, Lalith Suresh, Adriana Szekeres, Tianyin Xu
摘要
Modern clouds depend crucially on an extensible ecosystem of thousands of controllers, each managing critical systems (e.g., a ZooKeeper cluster). A controller continuously reconciles the current state of the system to a desired state according to a declarative description. However, controllers have bugs that make them never achieve the desired state, due to concurrency, asynchrony, and failures; there are cases where after an inopportune failure, a controller can make no further progress. Formal verification is promising for avoiding bugs in distributed systems, but most work so far focused on safety, whereas reconciliation is fundamentally not a safety property.
This paper develops the first tool to apply formal verification to the problem of controller correctness, with a general specification we call eventually stable reconciliation, written as a concise temporal logic liveness property. We present Anvil, a framework for developing controller implementations in Rust and verifying that the controllers correctly implement eventually stable reconciliation. We use Anvil to verify three Kubernetes controllers for managing ZooKeeper, RabbitMQ, and FluentBit, which can readily be deployed in Kubernetes platforms and are comparable in terms of features and performance to widely used unverified controllers.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 22 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Basilisk: Using Provenance Invariants to Automate Proofs of Undecidable Protocols 引用了 Finding Invariants of Distributed Systems: It's a Small (Enough) World After All
- Basilisk: Using Provenance Invariants to Automate Proofs of Undecidable Protocols 引用了 DistAI: Data-Driven Automated Invariant Learning for Distributed Protocols
- Deriving Semantic Checkers from Tests to Detect Silent Failures in Production Distributed Systems 引用了 DistAI: Data-Driven Automated Invariant Learning for Distributed Protocols
- Deriving Semantic Checkers from Tests to Detect Silent Failures in Production Distributed Systems 引用了 Storage Systems are Distributed Systems (So Verify Them That Way!)
- Kivi: Verification for Cluster Management 引用了 Twine: A Unified Cluster Management System for Shared Infrastructure
- Kivi: Verification for Cluster Management 引用了 Storage Systems are Distributed Systems (So Verify Them That Way!)
- DistAI: Data-Driven Automated Invariant Learning for Distributed Protocols 引用了 Finding Invariants of Distributed Systems: It's a Small (Enough) World After All
- An Empirical Study on Kubernetes Operator Bugs 引用了 Kivi: Verification for Cluster Management
- An Empirical Study on Kubernetes Operator Bugs 引用了 Twine: A Unified Cluster Management System for Shared Infrastructure
引用它的顶会 Paper22
- Basilisk: Using Provenance Invariants to Automate Proofs of Undecidable ProtocolsTony Nuda Zhang, Keshav Singh, Tej Chajed, Manos Kapritsos 等OSDI 2025 · 9 次引用
- Sharpen the Spec, Cut the Code: A Case for Generative File System with SYSSPECQingyuan Liu, Mo Zou, Hengbin Zhang, Dong Du 等FAST 2026 · 9 次引用
- An Empirical Study on Kubernetes Operator BugsQingxin Xu, Yu Gao, Jun WeiISSTA 2024 · 7 次引用
- Deriving Semantic Checkers from Tests to Detect Silent Failures in Production Distributed SystemsChang Lou, Dimas Shidqi Parikesit, Yujin Huang, Zhewen Yang 等OSDI 2025 · 6 次引用
- Kivi: Verification for Cluster ManagementBingzhe Liu, Gangmuk Lim, Ryan Beckett, Philip Brighten GodfreyUSENIX ATC 2024 · 6 次引用
它引用的 Paper17
- Twine: A Unified Cluster Management System for Shared InfrastructureChunqiang Tang, Kenny Yu, Kaushik Veeraraghavan, Jonathan Kaldor 等OSDI 2020 · 107 次引用
- Verus: Verifying Rust Programs using Linear Ghost TypesAndrea Lattuada, Travis Hance, Chanhee Cho, Matthias Brun 等OOPSLA 2023 · 86 次引用
- DistAI: Data-Driven Automated Invariant Learning for Distributed ProtocolsJianan Yao, Runzhou Tao, Ronghui Gu, Jason Nieh 等OSDI 2021 · 76 次引用
- Finding Invariants of Distributed Systems: It's a Small (Enough) World After AllTravis Hance, Marijn Heule, Ruben Martins, Bryan ParnoNSDI 2021 · 69 次引用
- Storage Systems are Distributed Systems (So Verify Them That Way!)Travis Hance, Andrea Lattuada, Chris Hawblitzel, Jon Howell 等OSDI 2020 · 52 次引用
相关 Paper
- Welder: Compositional Liveness Verification of Cluster Control PlanesZhizhen Cathy Cai, Nikhil Date, Jiawei Tyler Gu, Cody Rivera 等SOSP 2026
- Garen: Reliable Cluster Management with Atomic State ReconciliationMingi Kim, Ahnjae Shin, Jaewoo Maeng, Myeongjae Jeon 等EuroSys 2026 · 1 次引用
- ZENITH: Towards A Formally Verified Highly-Available Control PlanePooria Namyar, Arvin Ghavidel, Mingyang Zhang, Harsha V. Madhyastha 等SIGCOMM 2025 · 1 次引用
- Automatic Reliability Testing For Cluster Management ControllersXudong Sun, Wenqing Luo, Jiawei Tyler Gu, Aishwarya Ganesan 等OSDI 2022 · 44 次引用
- Multi-Grained Specifications for Distributed System Model Checking and VerificationLingzhi Ouyang, Xudong Sun, Ruize Tang, Yu Huang 等EuroSys 2025 · 4 次引用
