我遇到了这样一种情况,当使用.hgetall( db2 )请求时,redis缓存的密钥中的一个明显已知的哈希会死掉。我希望能有一些洞察力!谢谢。ResponseError: Operation against a key holding the wrong kind of value
下面是redis中的内容
hget',KEYS[2],'capacity'))redis.call('hset',KEYS[2],'capacity',store)当我在Java中运行这个srcipt时,会出现如下异常
@user_script:1: WRONGTYPE Operation against a key holding the wrong kind of valueObject ojb = jedis.evalsha(sha,