summaryrefslogtreecommitdiff
path: root/src/redis-trib.rb
Commit message (Collapse)AuthorAgeFilesLines
...
* redis-trib: call MIGRATE via r.client.call as fix for redis-rb API changes.antirez2014-03-111-1/+1
| | | | | | See issue #1593. Thanks to @badboy for suggesting the direct client.call fix.
* redis-trib: new subcommand 'call'. Exec command in all nodes.antirez2014-03-111-0/+18
| | | | | | Example: ./redis-trib.rb call 192.168.1.11:7000 config get cluster-node-timeout
* redis-trib: create subcommand is now able to assign spare slaves.antirez2014-03-111-16/+22
| | | | | | | Example: if the user will try to configure a cluster with 9 nodes, asking for 1 slave for master, redis-trib will configure a 4 masters cluster with 1 slave each as usually, but this time will assign the spare node as a slave of one of the masters.
* Cluster: redis-trib fix: handling of another trivial case.antirez2014-02-111-0/+3
|
* Cluster: remove debugging xputs from redis-trib.antirez2014-02-101-1/+0
|
* Cluster: redis-trib fix: cover new case of open slot.antirez2014-02-101-0/+3
| | | | | The case is the trivial one a single node claiming the slot as migrating, without nodes claiming it as importing.
* redis-trib: log event after we have reference to 'master'.antirez2014-02-101-1/+2
|
* Cluster: redis-trib, more info about open slots error.antirez2014-02-101-2/+2
|
* Cluster: redis-trib del-node variable typo fixed.antirez2014-02-101-1/+1
|
* Cluster: redis-trib: options table entry for add-node fixed.antirez2014-02-101-1/+1
|
* Cluster: redis-trib set-timeout implemented.antirez2014-01-241-5/+34
|
* Cluster: redis-trib shows number of replicas of masters.antirez2014-01-171-0/+2
|
* Cluster: redis-trib help output format modified.antirez2014-01-171-3/+2
|
* Cluster: redis-trib shows what a slave replicates + fixes.antirez2014-01-171-4/+10
| | | | | Also the :replicates info field in the node object is now correctly populated. This also fixes the :replicas field computation.
* Cluster: redis-trib addnode is now able to add replicas.antirez2014-01-171-2/+60
|
* Cluster: fix redis-trib help subcommand.antirez2014-01-171-1/+1
|
* Cluster: redis-trib delnode implementation.antirez2014-01-161-1/+41
|
* Cluster: redis-trib help output improved.antirez2014-01-161-4/+10
| | | | | Show options if any. Clarify that for some command any node address is ok.
* Cluster: use an hardcoded 60 sec timeout in redis-trib connections.antirez2013-12-171-1/+1
| | | | | | Later this should be configurable from the command line but at least now we use something more appropriate for our use case compared to the redis-rb default timeout.
* redis-trib: fixed slot allocation when --replicas is used.antirez2013-11-071-2/+2
|
* Initial support for --replicas in redis-trib.antirez2013-11-051-14/+109
|
* Cluster: rough support for sub-command options in redis-trib.antirez2013-10-111-15/+51
|
* Cluster: fix redis-trib node config fingerprinting for new nodes format.antirez2013-09-251-2/+2
|
* Cluster: fix redis-trib for added configEpoch field in CLUSTER NODES.antirez2013-09-251-1/+1
|
* redis-trib: ClusterNode #info_string output modified.antirez2013-03-261-1/+4
| | | | The hope is that the new one is more readable.
* redis-trib: wait cluster join after cluster creation.antirez2013-03-251-4/+23
|
* redis-trib: Don't use colorization if TERM != xterm.antirez2013-03-251-0/+1
|
* redis-trib: initial output colorizationantirez2013-03-251-1/+17
|
* redis-trib: All output wrapped by a specific function.antirez2013-03-221-46/+45
| | | | | | | | | | | | | This is needed in order to colorize it as next step. We use conventions in output messages such as >>> This is an action *** This is a warning [ERR] This is an error [OK] That's fine And so forth, so that a color will be associated checking the first three chars.
* redis-trib: fix open slot correction.antirez2013-03-221-2/+1
| | | | Slot zero was hardcoded (!)
* redis-trib: added cluster_error method to add errors.antirez2013-03-221-5/+11
|
* redis-trib: fixed ClusterNode migrating/importing slots detection.antirez2013-03-221-2/+2
|
* redis-trib: added some more output for check.antirez2013-03-221-1/+3
|
* redis-trib: fixed type has_flags? -> has_flag.antirez2013-03-221-1/+1
|
* redis-trib: ignore slaves when resharding.antirez2013-03-211-4/+6
|
* redis-trib: fix conditional otherwise always true.antirez2013-03-211-1/+1
|
* redis-trib: initial support to fix "open" slots.antirez2013-03-211-2/+57
| | | | | Open slots are slots found in importing or migrating slot when a cluster check is performed.
* redis-trib: load info about importing/migrating slots from node.antirez2013-03-211-1/+9
|
* redis-trib: don't load cluster config from nodes in FAIL state.antirez2013-03-191-1/+3
|
* redis-trib: skip nodes without slots when creating the config signature.antirez2013-02-281-0/+1
|
* redis-trib help.antirez2013-02-271-3/+13
|
* redis-trib: skip noaddr and disconnected nodes while loading cluster info.antirez2013-02-271-0/+1
|
* redis-trib: initial implementation of addnode command.antirez2013-02-271-3/+24
|
* redis-trib: check that all the nodes agree about the slots configuration.antirez2013-02-221-0/+27
|
* redis-trib: skeleton of coverage fix for "keys in multiple nodes" case.antirez2013-02-221-0/+17
|
* redis-trib: handle slot coverage fix in the "no nodes with keys" case.antirez2013-02-221-3/+15
|
* redis-trib: specify single node address when fixing coverage.antirez2013-02-221-1/+1
|
* redis-trib: ability to fix uncovered slots for the trivial case.antirez2013-02-211-2/+37
|
* redis-trib: fixed typo in method name.antirez2013-02-211-1/+1
|
* redis-trib: move instance vars in the right class.antirez2013-02-211-2/+2
|