Skip to content

Commit

Permalink
ISPN-5526 Ignore IGNORE_RETURN_VALUES with DELTA_WRITE
Browse files Browse the repository at this point in the history
  • Loading branch information
danberindei committed Jun 15, 2015
1 parent dc9bb74 commit baed5c6
Showing 1 changed file with 2 additions and 3 deletions.
Expand Up @@ -76,9 +76,8 @@ protected boolean isNeedReliableReturnValues(FlagAffectedCommand command) {
}

protected boolean needsRemoteGet(InvocationContext ctx, AbstractDataCommand command) {
if(command.hasFlag(Flag.CACHE_MODE_LOCAL)
|| (command.hasFlag(Flag.SKIP_REMOTE_LOOKUP) && !command.hasFlag(Flag.DELTA_WRITE)
|| command.hasFlag(Flag.IGNORE_RETURN_VALUES))) {
if (command.hasFlag(Flag.CACHE_MODE_LOCAL) || !command.hasFlag(Flag.DELTA_WRITE) &&
(command.hasFlag(Flag.SKIP_REMOTE_LOOKUP) || command.hasFlag(Flag.IGNORE_RETURN_VALUES))) {
return false;
}
boolean shouldFetchFromRemote = false;
Expand Down

0 comments on commit baed5c6

Please sign in to comment.