You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Nabarun Nag (Jira)" <ji...@apache.org> on 2021/09/03 02:26:08 UTC

[jira] [Closed] (GEODE-8387) SUNIONSTORE, SINTERSTORE, and SDIFFSTORE should delete the target key if the computed set is empty

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

Nabarun Nag closed GEODE-8387.
------------------------------

> SUNIONSTORE, SINTERSTORE, and SDIFFSTORE should delete the target key if the computed set is empty
> --------------------------------------------------------------------------------------------------
>
>                 Key: GEODE-8387
>                 URL: https://issues.apache.org/jira/browse/GEODE-8387
>             Project: Geode
>          Issue Type: Bug
>          Components: redis
>            Reporter: Darrel Schneider
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.14.0
>
>
> The current impl of SUNIONSTORE, SINTERSTORE, and SDIFFSTORE set the destination to an empty set if the computed set is empty. But they should instead in that case delete the destination. This is true if the read keys do not exist.
> If the read keys exist but are not sets then the commands should fail with a WRONGTYPE error.



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