Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

A test framework for linearizability check with Go

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE
MIT
Porcupine-LICENSE
NotificationsYou must be signed in to change notification settings

pingcap/chaos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chaos is used to check the distributed system linearizability.

Chaos is inspired byjepsen and usesporcupine as its linearizability checker.

Architecture

Chaos runs your registered database on 5 nodes, sends the command throughssh to control the service, like starting/stoping the service, or using a nemesis to disturb the whole cluster.

           +-------------+  +------- | controller  | -------+  |        +-------------+        |  |          |    |    |          |  |     +----+    |    |          |  v     v         |    |          v+----+----+----+  |    |  +----+----+| n1 | n2 | n3 | <+    +> | n4 | n5 |+----+----+----+          +----+----+

Usage

In one shell, we start the 5 nodes and the controller.

cd docker./up.sh

In another shell, usedocker exec -it chaos-control bash to enter the controller, then:

# build the node and your own chaos testmake# run you own chaos like./bin/chaos-tidb

Scaffold

It is very easy to write your own chaos test. TODO...

About

A test framework for linearizability check with Go

Topics

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE
MIT
Porcupine-LICENSE

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp