[infinispan-issues] [JBoss JIRA] (ISPN-3670) Any commands received before the initial topology is installed should block

Dan Berindei (JIRA) jira-events at lists.jboss.org
Wed Oct 30 08:33:01 EDT 2013


Dan Berindei created ISPN-3670:
----------------------------------

             Summary: Any commands received before the initial topology is installed should block
                 Key: ISPN-3670
                 URL: https://issues.jboss.org/browse/ISPN-3670
             Project: Infinispan
          Issue Type: Bug
          Components: State transfer
    Affects Versions: 6.0.0.CR1
            Reporter: Dan Berindei
            Assignee: Dan Berindei
            Priority: Critical
             Fix For: 6.0.0.CR2


Because the initial cache topology is installed in a single phase, it's possible to receive a StateRequestCommand from another node before receiving the JOIN response from the coordinator and installing the initial cache topology. As such, commands received before we have a cache topology should block instead of being ignored.

This bug is especially visible in the Map/Reduce tests (e.g.  ReplicatedTwoNodesMapReduceTest) because the M/R task sends the CreateCacheCommand to the other nodes before it's executed on the originator. Since the originator happens to be the coordinator, it's possible for the coordinator to start the rebalance before the first member installed the initial topology.

--
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: http://www.atlassian.com/software/jira


More information about the infinispan-issues mailing list