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

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

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
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: