[ https://issues.apache.org/jira/browse/GEODE-9699?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17429066#comment-17429066 ]
ASF subversion and git services commented on GEODE-9699: -------------------------------------------------------- Commit 7c850321b4056025c4c54cd25bc8aaba4a15617c in geode's branch refs/heads/develop from Donal Evans [ https://gitbox.apache.org/repos/asf?p=geode.git;h=7c85032 ] GEODE-9699: Redis Z*STORE commands should handle empty result sets (#6997) - ZUNIONSTORE and ZINTERSTORE no longer create a key if the union/intersection set is emppty - ZUNIONSTORE and ZINTERSTORE delete the destination set if it exists and the union/intersection set is empty - Added tests for the above behaviour - Enabled previously failing .tcl test for this behaviour Authored-by: Donal Evans <doev...@vmware.com> > 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)