[jboss-jira] [JBoss JIRA] (WFLY-5813) Quick redeploy vulnerable to CacheRegistry entry loss

Paul Ferraro (JIRA) issues at jboss.org
Tue Dec 8 10:39:00 EST 2015


Paul Ferraro created WFLY-5813:
----------------------------------

             Summary: Quick redeploy vulnerable to CacheRegistry entry loss
                 Key: WFLY-5813
                 URL: https://issues.jboss.org/browse/WFLY-5813
             Project: WildFly
          Issue Type: Bug
          Components: Clustering
    Affects Versions: 10.0.0.CR4
            Reporter: Paul Ferraro
            Assignee: Paul Ferraro


On deploy, CacheRegistry adds its local entry to the cache, and on undeploy removes it entry.  However, we use a topology change listener to remove entries for crashed members (since these nodes will not have removed their local entry).  However, since the listener is triggered asynchronously, it is possible that the topology change fired in response to an undeploy execute *after* the redeployed CacheRegistry starts - which would cause erroneous removal of the local entry that was added.
This manifests itself as an intermittent failure of the RegistryTestCase as seen in this PR:
https://github.com/wildfly/wildfly/pull/8465
Not surprisingly, this issue only surfaces in the windoze runs, which, according to [~ctomc], execute faster than the linux runs.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list