You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Donal Evans (Jira)" <ji...@apache.org> on 2021/10/15 00:45:00 UTC

[jira] [Resolved] (GEODE-9699) ZUNIONSTORE returns 1 instead of 0 when running against non-existing key

     [ https://issues.apache.org/jira/browse/GEODE-9699?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Donal Evans resolved GEODE-9699.
--------------------------------
    Fix Version/s: 1.15.0
       Resolution: Fixed

> ZUNIONSTORE returns 1 instead of 0 when running against non-existing key
> ------------------------------------------------------------------------
>
>                 Key: GEODE-9699
>                 URL: https://issues.apache.org/jira/browse/GEODE-9699
>             Project: Geode
>          Issue Type: Bug
>          Components: redis
>    Affects Versions: 1.15.0
>            Reporter: Eric Zoerner
>            Assignee: Donal Evans
>            Priority: Major
>              Labels: pull-request-available, release-blocker
>             Fix For: 1.15.0
>
>
> The following redis TCL test fails when running against Geode for Redis:
> {code}
>         # 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"]
>         }
> {code}
> Enable this test as part of this fix.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)