package
1.1.0
Repository: https://github.com/ljfuyuan/redisc.git
Documentation: pkg.go.dev

# README

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