You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Darrel Schneider (Jira)" <ji...@apache.org> on 2020/07/27 23:18:00 UTC
[jira] [Created] (GEODE-8387) SUNIONSTORE, SINTERSTORE, and
SDIFFSTORE should delete the target key if the computed set is empty
Darrel Schneider created GEODE-8387:
---------------------------------------
Summary: 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
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)