[infinispan-issues] [JBoss JIRA] Updated: (ISPN-936) putAll suboptimal and possibly wrong
Mircea Markus (JIRA)
jira-events at lists.jboss.org
Thu Feb 17 07:39:13 EST 2011
[ https://issues.jboss.org/browse/ISPN-936?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mircea Markus updated ISPN-936:
-------------------------------
Description:
DistributionManager.visitPutMapCommand broadcasts ALL the map entries to ALL the nodes to which keys are mapped.
E.g. if Map={k1=v1, k2=v2} and k1 maps to node A, k2 maps to node B then both A and B would receive {k1=v1, k2=v2}.
The way it should be is A receives {k1=v1} and B receives {k2=v2}.
This is suboptimal and error prone as, by the look of code, both nodes would store ALL the data in the data container.
was:
DistributionManager.visitPutMapCommand broadcasts ALL the map entries to ALL the nodes to which keys are mapped.
E.g. if Map={k1=v1, k2=v2} and k1 maps to node A, k2 maps to node B then both A and B would receive {k1=v1, k2=v2}.
The way it should be is A receives {k1=v1} and B receives {k2=v2}.
This is suboptimal and error prone as, by the look of code, both node would store ALL the data in the data container.
> putAll suboptimal and possibly wrong
> ------------------------------------
>
> Key: ISPN-936
> URL: https://issues.jboss.org/browse/ISPN-936
> Project: Infinispan
> Issue Type: Feature Request
> Components: Distributed Cache
> Affects Versions: 4.2.0.Final
> Reporter: Mircea Markus
> Assignee: Manik Surtani
> Fix For: 4.2.1.Final, 5.0.0.Final
>
>
> DistributionManager.visitPutMapCommand broadcasts ALL the map entries to ALL the nodes to which keys are mapped.
> E.g. if Map={k1=v1, k2=v2} and k1 maps to node A, k2 maps to node B then both A and B would receive {k1=v1, k2=v2}.
> The way it should be is A receives {k1=v1} and B receives {k2=v2}.
> This is suboptimal and error prone as, by the look of code, both nodes would store ALL the data in the data container.
>
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the infinispan-issues
mailing list