[jboss-jira] [JBoss JIRA] (WFCORE-234) Inconsistent synchronization in ConfigurationFile

Brian Stansberry (JIRA) issues at jboss.org
Sun Nov 9 11:12:29 EST 2014


Brian Stansberry created WFCORE-234:
---------------------------------------

             Summary: Inconsistent synchronization in ConfigurationFile
                 Key: WFCORE-234
                 URL: https://issues.jboss.org/browse/WFCORE-234
             Project: WildFly Core
          Issue Type: Bug
          Components: Domain Management
    Affects Versions: 1.0.0.Alpha11
            Reporter: Brian Stansberry
             Fix For: 1.0.0.CR1


ConfigurationFile synchronizes on itself in some places and not in others. This may cause problems, particularly with the history dir.

The one that comes to mind is successfulBoot is synchronized, but all the methods called by ConfigurationFilePersistenceResource are not. The latter is called with the controller lock held, but the former is not. So there's a possibility of two threads interacting with the files concurrently if an operation executes immediately after boot.

The deployment scanner schedules such an op, so it's possible. Currently the schedule is for 200 ms after deployment-scanner add runs during boot.




--
This message was sent by Atlassian JIRA
(v6.3.8#6338)


More information about the jboss-jira mailing list