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

[RESP] Sorted Set commands return score as a String instead of Double

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
    • None
    • None
    • RESP
    • None

      Infinispan should return a score of a Sorted Set member as a double representation instead of String. (Bulk String is valid with RESP2)

      ZSCORE example (applies for all the commands returning score (eg. via WITHSCORE option)):

      Infinispan:

      127.0.0.1:11222> zadd zset 15 key
      (integer) 1
      127.0.0.1:11222> ZSCORE zset key
      "15.0"
      

      Redis:

      27.0.0.1:6379> zadd zset 15 key
      (integer) 1
      127.0.0.1:6379> zscore zset key
      (double) 15
      

              karestig@redhat.com Katia Aresti
              karestig@redhat.com Katia Aresti
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: