Describe the bug
I'm not sure if this is how it's designed, but I feel that some users might rely on a condition (like gt) to filter hexpire for an expired time. However, in the current implementation, if an expired time is used, the condition is ignored, and it directly becomes the effect of the hdel command, which seems inconsistent with the implementation of the expire command too.
To reproduce
hsetex myhash ex 1000 fields 1 f1 v1
hexpireat myhash 1754846600 gt fields 1 f1
Expected behavior
return 0(condition has not been met) and do not hdel f1
Describe the bug
I'm not sure if this is how it's designed, but I feel that some users might rely on a condition (like
gt) to filterhexpirefor an expired time. However, in the current implementation, if an expired time is used, the condition is ignored, and it directly becomes the effect of thehdelcommand, which seems inconsistent with the implementation of theexpirecommand too.To reproduce
Expected behavior
return 0(condition has not been met) and do not hdel f1