-
Bug
-
Resolution: Done
-
Major
-
RHDG 8.5.x CD
-
None
-
False
-
None
-
False
-
-
-
-
-
-
-
Increments and decrements via `ZADD INCR LT/GT ...` to infinitely scored members should be ignored and return null:
Note: This behavior is a regression to 8.5.1 and Infinispan now throws an error instead properly handling the request.
Test: https://github.com/redis/redis/blob/7.2.5/tests/unit/type/zset.tcl#L262-L283
Infinispan:
127.0.0.1:11222> zadd ztmp +inf x -inf y (integer) 2 127.0.0.1:11222> zadd ztmp lt incr 1 x (error) ERR increment would produce NaN or Infinity
Redis:
127.0.0.1:6379> zadd ztmp +inf x -inf y (integer) 2 127.0.0.1:6379> zadd ztmp lt incr 1 x (nil)
- depends on
-
ISPN-16793 [RESP] ZADD score restrictions with LT/GT +/-INF
- Resolved