ccheck

command
v0.0.0-...-c280501 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 25, 2020 License: MIT Imports: 10 Imported by: 0

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

Documentation

Overview

Command ccheck implements the consistency checker redis cluster client as described in http://redis.io/topics/cluster-tutorial. It is used to test the redisc package with real cluster failover and resharding situations.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL