Github user galen-pivotal commented on a diff in the pull request:

    https://github.com/apache/geode/pull/404#discussion_r105061296
  
    --- Diff: 
geode-core/src/main/java/org/apache/geode/redis/internal/executor/set/SetOpExecutor.java
 ---
    @@ -47,23 +44,23 @@ public void executeCommand(Command command, 
ExecutionHandlerContext context) {
           destination = command.getKey();
     
         ByteArrayWrapper firstSetKey = new 
ByteArrayWrapper(commandElems.get(setsStartIndex++));
    -    if (!isStorage())
    -      checkDataType(firstSetKey, RedisDataType.REDIS_SET, context);
    -    Region<ByteArrayWrapper, Boolean> region =
    -        (Region<ByteArrayWrapper, Boolean>) rC.getRegion(firstSetKey);
    -    Set<ByteArrayWrapper> firstSet = null;
    -    if (region != null) {
    -      firstSet = new HashSet<ByteArrayWrapper>(region.keySet());
    -    }
    -    ArrayList<Set<ByteArrayWrapper>> setList = new 
ArrayList<Set<ByteArrayWrapper>>();
    +    // if (!isStorage())
    --- End diff --
    
    This is gnarly. I'll have to look at this later.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to