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

[RESP] HRANDFIELD against non-existing hash with count should return empty array

XMLWordPrintable

      Infinispan:

      127.0.0.1:11222> hrandfield nonexisting_key 100
      (nil)
      

      Redis:

      127.0.0.1:6379> hrandfield nonexisting_key 100
      (empty array)
      

      Test: https://github.com/redis/redis/blob/7.2.5/tests/unit/type/hash.tcl#L81-L96

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

                Created:
                Updated:
                Resolved: