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

RESP ZUNIONSTORE returns errors

XMLWordPrintable

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

      ZUNIONSTORE returns error for correct request

       

      ie

      expected:

           127.0.0.1:6379> ZUNIONSTORE {zset}3 2 {zset}1 {zset}2 WEIGHTS 1 inf
           (integer) 3
           127.0.0.1:6379> ZUNIONSTORE {zset}3 2 {zset}1 {zset}2 weights 1 inf
           (integer) 3

       

      actual:

          127.0.0.1:6379> ZUNIONSTORE {zset}3 2 {zset}1 {zset}2 WEIGHTS 1 inf
          (error) ERR weight value is not a float
          127.0.0.1:6379> ZUNIONSTORE {zset}3 2 {zset}1 {zset}2 weights 1 inf
          (error) ERR syntax error

       

       

              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: