redis错误
出现"(error)CROSSSLOT Keys in request don 't hash to the same slot "报错
看个图

产生的原因其实因为redis集群里使用 multi,然后exec发现报错
解决方法
上图其实已经说明怎么解决这个问题了,那就是加一个HashTag,同一个tag操作
key -> {tag}key
出现"(error)CROSSSLOT Keys in request don 't hash to the same slot "报错
看个图
产生的原因其实因为redis集群里使用 multi,然后exec发现报错
上图其实已经说明怎么解决这个问题了,那就是加一个HashTag,同一个tag操作
key -> {tag}key
本文标题:(error)CROSSSLOT Keys in request
本文链接:https://www.haomeiwen.com/subject/dwexmrtx.html
网友评论