Uploaded image for project: 'Geode'
  1. Geode
  2. GEODE-9699

ZUNIONSTORE returns 1 instead of 0 when running against non-existing key

    XMLWordPrintableJSON

Details

    Description

      The following redis TCL test fails when running against Geode for Redis:

              # Geode fails with: Expected '1' to be equal to '0'
              test "ZUNIONSTORE against non-existing key doesn't set destination - $encoding" {
                  r del "{slot}zseta"
                  assert_equal 0 [r zunionstore "{slot}dst_key" 1 "{slot}zseta"]
                  assert_equal 0 [r exists "{slot}dst_key"]
              }
      

      Enable this test as part of this fix.

      Attachments

        Issue Links

          Activity

            People

              donalevans Donal Evans
              zoernere Eric Zoerner
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: