[infinispan-issues] [JBoss JIRA] (ISPN-6789) EnwtryWrappingInterceptor computes location twice on backup owners

Dan Berindei (JIRA) issues at jboss.org
Thu Jun 16 06:35:00 EDT 2016


Dan Berindei created ISPN-6789:
----------------------------------

             Summary: 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: 8.2.2.Final, 9.0.0.Alpha2
            Reporter: Dan Berindei
            Assignee: Dan Berindei
             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.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the infinispan-issues mailing list