redis.clients.jedis.exceptions.JedisDataException: ERR Operation against a key holding the wrong kin

 

错误:redis.clients.jedis.exceptions.JedisDataException: ERR Operation against a key holding the wrong kind of value

 

Reason: The key value already exists in the database, but the type set this time is different from the previous type, which conflicts.

 

 

For example, you set the vlaue type of the key to hash before, but this time you set the value type of the key to zadd, resulting in a type conflict.
 
Solution: Change the key value to avoid key value conflict.

 

 

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326677214&siteId=291194637