-
Bug
-
Resolution: Done
-
Major
-
RHDG 8.5.x CD
-
None
-
False
-
None
-
False
-
-
-
-
-
-
-
Executing ZINCRBY with infinite score against existing and non-existing values should be allowed. The error message should pop up only in case the resulting score would be NaN (increments by infinity against scores with opposite infinite score)
Regression:
127.0.0.1:11222> exists ztmp (integer) 0 127.0.0.1:11222> zincrby ztmp +inf x (error) ERR increment would produce NaN or Infinity
Redis:
127.0.0.1:6379> exists ztmp
(integer) 0
127.0.0.1:6379> zincrby ztmp +inf x
"inf"
127.0.0.1:6379> zincrby ztmp -inf x
(error) ERR resulting score is not a number (NaN)
- depends on
-
ISPN-16739 [RESP] ZINCRBY allow create with infinite score
- Resolved