|
@@ -40,7 +40,7 @@ use Predis\Command\RawCommand;
|
|
|
* It is also possible to ask for the full and updated slots map directly to one
|
|
|
* of the nodes and optionally enable such a behaviour upon -MOVED redirections.
|
|
|
* Asking for the cluster configuration to Redis is actually done by issuing a
|
|
|
- * CLUSTER NODES command to a random node in the pool.
|
|
|
+ * CLUSTER SLOTS command to a random node in the pool.
|
|
|
*
|
|
|
* @author Daniele Alessandri <suppakilla@gmail.com>
|
|
|
*/
|
|
@@ -170,7 +170,7 @@ class RedisCluster implements ClusterConnectionInterface, IteratorAggregate, Cou
|
|
|
|
|
|
/**
|
|
|
* Generates an updated slots map fetching the cluster configuration using
|
|
|
- * the CLUSTER NODES command against the specified node or a random one from
|
|
|
+ * the CLUSTER SLOTS command against the specified node or a random one from
|
|
|
* the pool.
|
|
|
*
|
|
|
* @param SingleConnectionInterface $connection Optional connection instance.
|
|
@@ -494,7 +494,7 @@ class RedisCluster implements ClusterConnectionInterface, IteratorAggregate, Cou
|
|
|
|
|
|
/**
|
|
|
* Enables automatic fetching of the current slots map from one of the nodes
|
|
|
- * using the CLUSTER NODES command. This option is disabled by default but
|
|
|
+ * using the CLUSTER SLOTS command. This option is disabled by default but
|
|
|
* asking the current slots map to Redis upon -MOVED responses may reduce
|
|
|
* overhead by eliminating the trial-and-error nature of the node guessing
|
|
|
* procedure, mostly when targeting many keys that would end up in a lot of
|
|
@@ -503,7 +503,7 @@ class RedisCluster implements ClusterConnectionInterface, IteratorAggregate, Cou
|
|
|
* The slots map can still be manually fetched using the askClusterNodes()
|
|
|
* method whether or not this option is enabled.
|
|
|
*
|
|
|
- * @param bool $value Enable or disable the use of CLUSTER NODES.
|
|
|
+ * @param bool $value Enable or disable the use of CLUSTER SLOTS.
|
|
|
*/
|
|
|
public function enableClusterNodes($value)
|
|
|
{
|