I've noticed that SKIP_CACHE_LOAD flag is ignored when performing the
write skew check (the old entry is loaded from cache store), though, it
is not ignored (and the entry is not loaded) when there's
CACHE_MODE_LOCAL [2]. Is that intended behaviour, or just "conserved" by
tests?
The flag itself allows to break things [3], so I guess that user sets
the flag only when he knows that there is no such entry in cache store
and it's safe to not load it.
Moreover, I don't understand why the WSC should be performed on
originator (or backup owners) [4].
Thanks for explanations (I'll try to add them as comments to the code -
or make the reasoning more obvious).
Radim
[1]
https://github.com/infinispan/infinispan/blob/master/core/src/test/java/o...
[2]
https://github.com/infinispan/infinispan/blob/master/core/src/test/java/o...
[3]
https://github.com/infinispan/infinispan/blob/master/core/src/main/java/o...
[4]
https://github.com/infinispan/infinispan/blob/master/core/src/test/java/o...
--
Radim Vansa <rvansa(a)redhat.com>
JBoss Performance Team