Systematic testing of failover and recovery for distributed system components
Abstract
In various embodiments, methods and systems for testing failover and recovery are provided. Systematic testing of a distributed system is performed, where the systematic testing probabilistically determines a processing order of events to effectuate system states for the plurality of state machines. An iteration of the systematic testing tests one the system states and includes sending a termination message to a state machine; receiving a termination acknowledgment message, the termination message causing the state machine to halt at the state and event of the state machine for the system state; and instantiating a recovery state machine. The recovery state machine is instantiated with a same state and same role as the halted state machine. Results of the systematic testing are verified against an expected outcome, the results being generated by running the distributed system with the instantiated recovery state machine for each iteration of the systematic testing.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 14 · Forward citations: 3.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for testing failover and recovery, comprising: performing systematic testing of a distributed system, the systematic testing generating system states comprising a probabilistically determined combination of states for a plurality of state machines, the systematic testing comprising a plurality of iterations, each iteration testing one of the system states, each iteration comprising: probabilistically determining a processing order of events for the plurality of state machines in the distributed system to generate the one of the system states; sending a termination message to a state m
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (3 of 3 total)
References Cited — Backward Prior Art (14)
Non-Patent Literature (4)
- B. Schneider, Fred, "The State Machine Approach: A Tutorial", In Proceedings of a Workshop on Fault Tolerant Distributed Computing Lecture Notes in Computer Science series, Apr. 20, 2015, pp. 18-41.
- Bruening, et al., "Systematic Testing of Multithreaded Programs", Published on: Jun. 18, 2010 Available at: http://publications.csail.mit.edu/lcs/pubs/pdf/MIT-LCS-TM-607.pdf.
- Deligiannis, et al., "Uncovering Bugs in Distributed Storage Systems during Testing (not in Production!)", In Proceedings of 14th USENIX Conference on File and Storage Technologies, Feb. 22, 2016, pp. 1-14.
- Garg, Nikhil, "Persistent Finite State Machines in Python", Published on: Aug. 22, 2014 Available at: https://engineering.quora.com/Persistent-Finite-State-Machines-in-Python.