-
Bug
-
Resolution: Done
-
Major
-
None
-
None
Infinispan:
127.0.0.1:11222> zincrby myzset +inf abc "Infinity" 127.0.0.1:11222> zincrby myzset -inf abc "NaN"
Redis
127.0.0.1:6379> zincrby myzset +inf abc
(double) inf
127.0.0.1:6379> zincrby myzset -inf abc
(error) ERR resulting score is not a number (NaN)
Test: https://github.com/redis/redis/blob/7.2.5/tests/unit/type/zset.tcl#L306-L309
This affects all incrby commands that accept a float value. That includes: `INCRBYFLOAT`, `ZINCRBY`, and `HINCRBYFLOAT` commands.