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

Brian Stansberry (JIRA) issues at jboss.org
Thu May 19 23:16:09 EDT 2016


     [ https://issues.jboss.org/browse/WFCORE-234?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Stansberry updated WFCORE-234:
------------------------------------
    Fix Version/s: 3.0.0.Alpha2
                       (was: 3.0.0.Alpha1)


> 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: 3.0.0.Alpha2
>
>
> 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.4.11#64026)


More information about the jboss-jira mailing list