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

MGET fails on non string entry

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 15.0.3.Final
    • 15.0.3.Final
    • RESP
    • None

      MGET must never fail and return (nil) on non string entry.

       

      expected:

           127.0.0.1:6379> sadd onset val1
           (integer) 1
           127.0.0.1:6379> mget onset
           1) (nil)

       

      actual:

           127.0.0.1:6379> sadd onset val1
           (integer) 1
           127.0.0.1:6379> mget onset
           (error) ERRWRONGTYPE Operation against a key holding the wrong kind of value

              vrigamon@redhat.com Vittorio Rigamonti
              vrigamon@redhat.com Vittorio Rigamonti
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: