In DI.remoteGetBeforeWrite, you have:
if (isNeedReliableReturnValues(ctx) || (isConditionalCommand &&
ctx.isInTxScope())) {
for (Object k : keygen.getKeys()) remoteGetAndStoreInL1(ctx, k,
isStillRehashingOnJoin);
}
Why does the command need to be conditional and within a transaction in order to do a
remote get when reliable returns are not needed? It is my understanding that if a
conditional command is in use, i.e. replace(k, old, v), it should override not needing
reliable returns in order to get accurate results. However, this only seems to be the case
if the conditional op is within a transaction.
Cheers,
--
Galder Zamarreño
Sr. Software Engineer
Infinispan, JBoss Cache
Show replies by date