]
Dan Berindei updated ISPN-6790:
-------------------------------
Status: Open (was: New)
Distribution interceptors re-compute key location after remote get
------------------------------------------------------------------
Key: ISPN-6790
URL:
https://issues.jboss.org/browse/ISPN-6790
Project: Infinispan
Issue Type: Bug
Components: Core
Affects Versions: 9.0.0.Alpha2, 8.2.2.Final
Reporter: Dan Berindei
Assignee: Dan Berindei
Priority: Minor
Fix For: 9.0.0.Alpha3
If the distribution interceptors don't find a key remotely, they try again to
retrieve it from the local data container. Before reading the local value, though, they
compute the key's ownership again, to make sure they don't read a stale value that
was previously owned by the local node.
Most of the time, the topology doesn't change during the invocation through the
interceptor chain, so there's no need to look up the value locally again, or to
re-compute the key's location.