Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-16416

[RESP] ZADD running incompatible args closes the connection

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 15.1.0.Dev03, 15.0.8.Final
    • None
    • RESP
    • None

      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
      

              karestig@redhat.com Katia Aresti
              karestig@redhat.com Katia Aresti
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: