Hi,

I'm using redis 4.0.9. I created a key named footer_signature@response , this is a hash. I want to delete this key, use redis-cli, but the strange thing is this key can not be deleted use Del command:

redis-server:6379> hKeys footer_signature@response
1) "c713b65b8fcdf3d0"
redis-server:6379> Del footer_signature@response
(integer) 1
redis-server:6379> hKeys footer_signature@response
1) "c713b65b8fcdf3d0"

And I also tried hDel:

redis-server:6379> hKeys footer_signature@response
1) "c713b65b8fcdf3d0"
redis-server:6379> hDel footer_signature@response c713b65b8fcdf3d0
(integer) 1
redis-server:6379> hKeys footer_signature@response
1) "c713b65b8fcdf3d0"

Any idea why this happen? Thank you!

Comment From: itamarhaber

Hello @williamjieh

The simplest explanation is that there's some process creating that key immediately after you delete it. Try running MONITOR to test my hypothesis.

Comment From: williamjieh

@itamarhaber

Yes, you are right, thanks!