Skip to product information
1 of 1

crossslot keys in request don't hash to the same slot

golang 操作redis 使用pipline ,如何避免报错CROSSSLOT Keys in

golang 操作redis 使用pipline ,如何避免报错CROSSSLOT Keys in

Regular price 1000 ₹ INR
Regular price Sale price 1000 ₹ INR
Sale Sold out

crossslot keys in request don't hash to the same slot

golang 操作redis 使用pipline ,如何避免报错CROSSSLOT Keys in crossslot keys in request don't hash to the same slot PredisResponseServerException CROSSSLOT Keys in request don't hash to the same slot varwwwhtmlvendorpredispredissrc 370 The config texas slot machines ERR CROSSSLOT Keys in request don't hash to the same slot within 'MULTI' 7 > EXPIRE user

texas slot machines The error log means: The requested Key key is not hashed into the same slot The key space of the Redis cluster is divided into 16384 slots, and the maximum

northern sky slot Now it's clear that during a slot migration CROSSSLOT errors are also possible even when all keys map to the same slot hash slot the keys belong to is in CROSSSLOT Keys in request don't hash to the same slot Solution 1 One solution is to force redis to insert the keys into same slot We can achieve

View full details