[JBoss JIRA] Created: (ISPN-1041) Ensure Callable isolation as it gets invoked across the cluster
by Vladimir Blagojevic (JIRA)
Ensure Callable isolation as it gets invoked across the cluster
---------------------------------------------------------------
Key: ISPN-1041
URL: https://issues.jboss.org/browse/ISPN-1041
Project: Infinispan
Issue Type: Bug
Components: Distributed Cache
Affects Versions: 5.0.0.BETA1
Reporter: Vladimir Blagojevic
Assignee: Vladimir Blagojevic
Fix For: 5.0.0.CR1
If Callable submitted for distributed execution contains mutable instance fields they might get mutated locally before being sent for a remote execution thus potentially resulting in wrong results being returned to a task invoker. Just before Callable is dispersed across cluster it gets invoked locally where instance fields of a submitted Callable can be possibly mutated; Callable is in turn sent to remote nodes with mutated values instead of "original" field values as submitted by user.
We need to ensure that each execution node gets a pristine version of Callable object submitted by the user.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 3 months
[JBoss JIRA] Created: (ISPN-1294) Run local operations from a DistributedExecutor in parallel
by Sanne Grinovero (JIRA)
Run local operations from a DistributedExecutor in parallel
-----------------------------------------------------------
Key: ISPN-1294
URL: https://issues.jboss.org/browse/ISPN-1294
Project: Infinispan
Issue Type: Enhancement
Reporter: Sanne Grinovero
Assignee: Manik Surtani
Fix For: 5.1.0.ALPHA1
Looking into
{code}org.infinispan.distexec.DefaultExecutorService.invokeLocally(DistributedRunnableFuture<T>){code}
It seems that the operations are performed in the same thread as the invoker; if we happen to send multiple operations to the local node, these are performed in sequence, and in sequence with the remote operations. We should use an Executor for the local tasks.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 3 months