{"id":18408341,"url":"https://github.com/pingcap/chaos","last_synced_at":"2025-08-21T12:30:41.806Z","repository":{"id":57485179,"uuid":"102178409","full_name":"pingcap/chaos","owner":"pingcap","description":"A test framework for linearizability check with Go","archived":false,"fork":false,"pushed_at":"2019-07-10T11:21:59.000Z","size":5141,"stargazers_count":208,"open_issues_count":2,"forks_count":28,"subscribers_count":26,"default_branch":"master","last_synced_at":"2024-12-18T16:35:15.208Z","etag":null,"topics":["linearizability"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pingcap.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-09-02T06:45:11.000Z","updated_at":"2024-10-09T16:06:38.000Z","dependencies_parsed_at":"2022-08-26T12:20:59.774Z","dependency_job_id":null,"html_url":"https://github.com/pingcap/chaos","commit_stats":null,"previous_names":["siddontang/chaos"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pingcap%2Fchaos","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pingcap%2Fchaos/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pingcap%2Fchaos/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pingcap%2Fchaos/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pingcap","download_url":"https://codeload.github.com/pingcap/chaos/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230511479,"owners_count":18237657,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["linearizability"],"created_at":"2024-11-06T03:18:37.504Z","updated_at":"2024-12-19T23:14:48.843Z","avatar_url":"https://github.com/pingcap.png","language":"Go","readme":"# Chaos\n\nChaos is used to check the distributed system linearizability.\n\nChaos is inspired by [jepsen](https://github.com/jepsen-io/jepsen) and uses [porcupine](https://github.com/anishathalye/porcupine) as its linearizability checker.\n\n## Architecture\n\nChaos runs your registered database on 5 nodes, sends the command through `ssh` to control the service, like starting/stoping the service, or using a nemesis to disturb the whole cluster.\n\n```\n           +-------------+\n  +------- | controller  | -------+\n  |        +-------------+        |\n  |          |    |    |          |\n  |     +----+    |    |          |\n  v     v         |    |          v\n+----+----+----+  |    |  +----+----+\n| n1 | n2 | n3 | \u003c+    +\u003e | n4 | n5 |\n+----+----+----+          +----+----+\n```\n\n## Usage\n\nIn one shell, we start the 5 nodes and the controller.\n\n```\ncd docker\n./up.sh\n```\n\nIn another shell, use `docker exec -it chaos-control bash` to enter the controller, then:\n\n```\n# build the node and your own chaos test\nmake\n\n# run you own chaos like\n./bin/chaos-tidb\n```\n\n## Scaffold\n\nIt is very easy to write your own chaos test. TODO...","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpingcap%2Fchaos","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpingcap%2Fchaos","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpingcap%2Fchaos/lists"}