摘要: 在集群模式下,如果lua脚本同时操作多个key,可能会出现:CROSSSLOT Keys in request don't hash to the same slot的错误。 这种情况下,可以通过{...},来指定多个key使用相同的内容进行hash,例如:user:{123}:username和u 阅读全文
posted @ 2023-12-18 15:15 yghr 阅读(205) 评论(0) 推荐(0)