If ReplaceCommand with ignorePrevValue=true is executed on a backup owner node which has not the entry in the container (for example because the state transfer was not completed yet), the entry won't be in the command's context. Then, in the ReplaceCommand.perform() the entry is not replaced and the command fails. The command on primary owner succeeds as it does not check whether the responses are successful.
Dan Berindei <dberinde> made a comment on jira ISPN-3449 Looks like this only happens for non-tx caches, for tx caches we use {{EntryFactory.wrapEntryForPut()}} when ignorePreviousValue is {{true}}.
Pedro Ruivo <pedroruivo2> updated the status of jira ISPN-3449 to Resolved