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

[RESP] SINTERSTORE interaction with empty set should result in empty set

XMLWordPrintable

      Expected interaction of SINTERSTORE with an empty set as a key is an empty set as a result. This issue is follow up on JDG-7122.

      Infinispan

      127.0.0.1:11222> sadd set3 a b c
      (integer) 3
      127.0.0.1:11222> sadd set1 c d e
      (integer) 3
      127.0.0.1:11222> sinterstore set3 set1 set2
      (integer) 3
      127.0.0.1:11222> smembers set3
      1) "e"
      2) "d"
      3) "c"
      

      Redis

      127.0.0.1:6379> sadd set3 a b c
      (integer) 3
      127.0.0.1:6379> sadd set1 c d e
      (integer) 3
      127.0.0.1:6379> sinterstore set3 set1 set2
      (integer) 0
      127.0.0.1:6379> smembers set3
      (empty set)
      

            vrigamon@redhat.com Vittorio Rigamonti
            rhn-support-pdrobek Pavel Drobek
            Pavel Drobek Pavel Drobek
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: