[ https://issues.jboss.org/browse/ISPN-5637?page=com.atlassian.jira.plugin.... ]
Dan Berindei updated ISPN-5637:
-------------------------------
Status: Pull Request Sent (was: Open)
Git Pull Request: https://github.com/infinispan/infinispan/pull/3611
> Use SingleKeyNonTxInvocationContext for remote non-tx writes
> ------------------------------------------------------------
>
> Key: ISPN-5637
> URL: https://issues.jboss.org/browse/ISPN-5637
> Project: Infinispan
> Issue Type: Task
> Components: Core
> Affects Versions: 8.0.0.Beta2
> Reporter: Dan Berindei
> Assignee: Dan Berindei
> Priority: Minor
> Fix For: 8.0.0.Beta3
>
>
> Remove commands always use a {{NonTxInvocationContext}}, even if they affect a single key. We should be able to use {{SingleKeyNonTxInvocationContext}} instead and avoid allocating a HashMap for the context entries.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
[ https://issues.jboss.org/browse/ISPN-5638?page=com.atlassian.jira.plugin.... ]
Dan Berindei updated ISPN-5638:
-------------------------------
Status: Open (was: New)
> Remove the isOriginLocal from AbstractInvocationContext
> -------------------------------------------------------
>
> Key: ISPN-5638
> URL: https://issues.jboss.org/browse/ISPN-5638
> Project: Infinispan
> Issue Type: Task
> Components: Core
> Affects Versions: 8.0.0.Beta2
> Reporter: Dan Berindei
> Assignee: Dan Berindei
> Priority: Minor
> Fix For: 8.0.0.Beta3
>
>
> We already have an origin field, we can use {{origin == null}} to check if the invocation is local.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
[ https://issues.jboss.org/browse/ISPN-5638?page=com.atlassian.jira.plugin.... ]
Dan Berindei updated ISPN-5638:
-------------------------------
Status: Pull Request Sent (was: Open)
Git Pull Request: https://github.com/infinispan/infinispan/pull/3611
> Remove the isOriginLocal from AbstractInvocationContext
> -------------------------------------------------------
>
> Key: ISPN-5638
> URL: https://issues.jboss.org/browse/ISPN-5638
> Project: Infinispan
> Issue Type: Task
> Components: Core
> Affects Versions: 8.0.0.Beta2
> Reporter: Dan Berindei
> Assignee: Dan Berindei
> Priority: Minor
> Fix For: 8.0.0.Beta3
>
>
> We already have an origin field, we can use {{origin == null}} to check if the invocation is local.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
[ https://issues.jboss.org/browse/ISPN-5638?page=com.atlassian.jira.plugin.... ]
Dan Berindei updated ISPN-5638:
-------------------------------
Priority: Minor (was: Major)
> Remove the isOriginLocal from AbstractInvocationContext
> -------------------------------------------------------
>
> Key: ISPN-5638
> URL: https://issues.jboss.org/browse/ISPN-5638
> Project: Infinispan
> Issue Type: Task
> Components: Core
> Affects Versions: 8.0.0.Beta2
> Reporter: Dan Berindei
> Assignee: Dan Berindei
> Priority: Minor
> Fix For: 8.0.0.Beta3
>
>
> We already have an origin field, we can use {{origin == null}} to check if the invocation is local.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
[ https://issues.jboss.org/browse/ISPN-5637?page=com.atlassian.jira.plugin.... ]
Dan Berindei updated ISPN-5637:
-------------------------------
Priority: Minor (was: Major)
> Use SingleKeyNonTxInvocationContext for remote non-tx writes
> ------------------------------------------------------------
>
> Key: ISPN-5637
> URL: https://issues.jboss.org/browse/ISPN-5637
> Project: Infinispan
> Issue Type: Task
> Components: Core
> Affects Versions: 8.0.0.Beta2
> Reporter: Dan Berindei
> Assignee: Dan Berindei
> Priority: Minor
> Fix For: 8.0.0.Beta3
>
>
> Remove commands always use a {{NonTxInvocationContext}}, even if they affect a single key. We should be able to use {{SingleKeyNonTxInvocationContext}} instead and avoid allocating a HashMap for the context entries.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)