Uploaded image for project: 'Red Hat Data Grid'
  1. Red Hat Data Grid
  2. JDG-7253

[RESP] SORT should return sorted set with BY non-existing key

XMLWordPrintable

      SORT should return sorted set with BY non-existing key and keep the ordering.

      Infinispan:

      127.0.0.1:11222> zadd zset 1 a 5 b 2 c 10 d 3 e
      (integer) 5
      127.0.0.1:11222> sort zset by nosort
      (error) ERR value is not an integer or out of range
      

      Redis:

      127.0.0.1:6379> zadd zset 1 a 5 b 2 c 10 d 3 e
      (integer) 5
      127.0.0.1:6379> sort zset by nosort
      1) "a"
      2) "c"
      3) "e"
      4) "b"
      5) "d"
      

              rh-ee-jbolina Jose Bolina
              rhn-support-pdrobek Pavel Drobek
              Pavel Drobek Pavel Drobek
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: