1
/
of
1
CROSSSLOT Keys in request don't hash to the same slot
CROSSSLOT Keys in request don't hash to the same slot
在集群模式下进行多键操作, 同时操作的键中有部分不在该节点时,会报如下错误CROSSSLOT Keys in request don't hash to the same slot 例如: hmg
The fix here is to use hash tags for data that always needs to be in the same slot See topicscluster-spec#:~:text=Hash%
redis hash slot In a cluster topology, the keyspace is divided into hash slots Different nodes will hold a subset of hash slots Multiple keys operations
redisexceptionsresponseerror_ crossslot keys in request don''t hash to the same slot It's possible of 'CROSSSLOT' issue Because redis specific node don't have all slots you input the keys ( keyv:faqc:
Regular
price
153.00 ₹ INR
Regular
price
153.00 ₹ INR
Sale
price
153.00 ₹ INR
Unit price
/
per
Share
![redis crossslot keys in request don't hash to the same slot](10098.png)