Design and Verification of a Logless Dynamic Reconfiguration Protocol in MongoDB Replication

02/23/2021
by   William Schultz, et al.
0

We present a novel dynamic reconfiguration protocol for the MongoDB replication system that extends and generalizes the single server reconfiguration protocol of the Raft consensus algorithm. Our protocol decouples the processing of configuration changes from the main database operation log, which allows reconfigurations to proceed in cases when the main log is prevented from processing new operations. Additionally, this decoupling allows for configuration state to be managed by a logless replicated state machine, by optimizing away the explicit log and storing only the latest version of the configuration, avoiding the complexities of a log-based protocol. We provide a formal specification of the protocol along with results from automated verification of its safety properties. We also provide an experimental evaluation of the protocol benefits, showing how reconfigurations are able to quickly restore a system to healthy operation in scenarios where node failures have stalled the main operation log.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
09/24/2021

Formal Verification of a Distributed Dynamic Reconfiguration Protocol

We present a formal, machine checked TLA+ safety proof of MongoRaftRecon...
research
10/05/2020

Specification of the Giskard Consensus Protocol

The Giskard consensus protocol is used to validate transactions and comp...
research
04/02/2021

A Formal Analysis of the MimbleWimble Cryptocurrency Protocol

MimbleWimble (MW) is a privacy-oriented cryptocurrency technology which ...
research
05/21/2019

Linearizable State Machine Replication of State-Based CRDTs without Logs

General solutions of state machine replication have to ensure that all r...
research
04/28/2020

Modeling the Raft Distributed Consensus Protocol in LNT

Consensus protocols are crucial for reliable distributed systems as they...
research
03/27/2018

Modeling a Cache Coherence Protocol with the Guarded Action Language

We present a formal model built for verification of the hardware Tera-Sc...
research
08/10/2018

VeriFi: Model-Driven Runtime Verification Framework for Wireless Protocol Implementations

Validating wireless protocol implementations is challenging. Today's app...

Please sign up or login with your details

Forgot password? Click here to reset