]
Mircea Markus updated ISPN-2587:
--------------------------------
Fix Version/s: 6.0.0.Final
(was: 5.3.0.Final)
Optimize command forwarding after topology changes
--------------------------------------------------
Key: ISPN-2587
URL:
https://issues.jboss.org/browse/ISPN-2587
Project: Infinispan
Issue Type: Task
Components: State transfer
Affects Versions: 5.2.0.Beta5
Reporter: Dan Berindei
Assignee: Dan Berindei
Fix For: 6.0.0.Final
When a node receives a command with a topology id lower than its own topology id, it
forwards the command to all the owners in the current topology.
This is especially bad in replicated caches, where all the nodes check whether to forward
or not, and after a join we may get {{n * (n-1)}} forwarded commands instead of just
{{n}}.
Most of the time the difference between the current topology id and the command's
topology id is <= 1, so we could avoid a lot of the extra forwarding if we kept the
previous cache topology and we forwarded the command only to the owners added in the
latest topology. Obviously, if the command is older we'd still forward it to all the
owners.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: