[infinispan-issues] [JBoss JIRA] (ISPN-6789) EnwtryWrappingInterceptor computes location twice on backup owners
Dan Berindei (JIRA)
issues at jboss.org
Thu Jun 16 06:36:00 EDT 2016
[ https://issues.jboss.org/browse/ISPN-6789?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
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.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the infinispan-issues
mailing list