The same applies for all incompatible options (LT/GT, NX/LT, NX/GT, XX/NX). Server should throw an error.
Infinispan:
127.0.0.1:11222> zadd ztmp xx nx 10 x Error: Server closed the connection
Redis
127.0.0.1:6379> zadd ztmp xx nx 10 x (error) ERR XX and NX options at the same time are not compatible
- clones
-
JDG-7222 [RESP] ZADD running incompatible args closes the connection
- Verified