]
Dan Berindei updated ISPN-6789:
-------------------------------
Priority: Minor (was: Major)
EnwtryWrappingInterceptor computes location twice on backup owners
-------------------------------------------------------------------
Key: ISPN-6789
URL:
https://issues.jboss.org/browse/ISPN-6789
Project: Infinispan
Issue Type: Task
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
{{cdl.localNodeIsPrimaryOwner(key) || (cdl.localNodeIsOwner(key) &&
!ctx.isOriginLocal())}} computes the owner twice. In replicated mode, the
{{localNodeIsOwner()}} is cheaper, so it's better to call
{{localNodeIsPrimaryOwner()}} only on the originator.