src.dualinventive.com/go/websocketserver/vendor/github.com/mna/redisc/ccheck
Jerry Jacobs 1193c82181 initial 2024-08-09 12:10:16 +02:00
..
README.md initial 2024-08-09 12:10:16 +02:00
ccheck.go initial 2024-08-09 12:10:16 +02:00
create-cluster initial 2024-08-09 12:10:16 +02:00
redis-trib.rb initial 2024-08-09 12:10:16 +02:00

README.md

Consistency Checker

This folder implements a consistency checker as described in the redis cluster tutorial documentation and implemented in the reference redis cluster client ruby repository.

The redis-trib.rb and create-cluster scripts are from the redis repository and copied here only for convenience, with the redis copyright added to the top of the files. The create-cluster script has been adjusted to start the $PATH-installed redis-server and redis-cli binaries, and the redis-trib.rb script in the current directory.

All scripts should be executed in this directory.

To run the cluster:

  1. create-cluster start
  2. create-cluster create (type yes when prompted)
  3. execute the ccheck go client program
  4. play with the cluster, trigger failovers, etc.
  5. create-cluster stop
  6. create-cluster clean