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

MGET fails on non string entry

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

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
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: