redis-cluster-client 0.14.0 → 0.14.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/redis_client/cluster/router.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: '0941b5506846f311cfce98389972b5fccca807384309821ea9df7b61148cc818'
|
|
4
|
+
data.tar.gz: ba7654bdd8d03059a7953ed1772e8281dc3dd9a06c4e0e9969dc127d0df21935
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 27fc5ca5d00b957b8494ea1e9bd72ba32287f0e1df4c4ab64106dfd7a183b95181156a6e6f4685a1b47ec571b7650614bda4d0331a4ed45b13f5b5c0fa894ae0
|
|
7
|
+
data.tar.gz: 61563e73385b147b1f0b3d5be4ac99287ddb476912bd7e5b7689df0ae7e875c4372f69a2bcf8964e90a9ce9e867f0b9a160decce2089318f78ab200334ff6bc3
|
|
@@ -394,7 +394,7 @@ class RedisClient
|
|
|
394
394
|
@node.call_all(method, command, args).first.then(&TSF.call(block))
|
|
395
395
|
elsif command[1].casecmp('countkeysinslot').zero? || command[1].casecmp('getkeysinslot').zero?
|
|
396
396
|
handle_node_reload_error do
|
|
397
|
-
node_key = @node.find_node_key_of_replica(command[2])
|
|
397
|
+
node_key = @node.find_node_key_of_replica(command[2]) || @node.any_replica_node_key
|
|
398
398
|
@node.find_by(node_key).public_send(method, *args, command, &block)
|
|
399
399
|
end
|
|
400
400
|
else
|