[ 
https://issues.apache.org/jira/browse/GEODE-8387?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17170244#comment-17170244
 ] 

ASF subversion and git services commented on GEODE-8387:
--------------------------------------------------------

Commit dec583b9411664c4db55c4ee4651a80cfe8a51a7 in geode's branch 
refs/heads/feature/GEODE-7665 from Darrel Schneider
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=dec583b ]

GEODE-8387: fix SET*STORE commands handling of empty results (#5405)



> 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)

Reply via email to