[infinispan-issues] [JBoss JIRA] (ISPN-3920) Server initialization race condition - cache config defaults not used

Ion Savin (JIRA) issues at jboss.org
Wed Apr 9 10:42:14 EDT 2014


    [ https://issues.jboss.org/browse/ISPN-3920?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12960539#comment-12960539 ] 

Ion Savin commented on ISPN-3920:
---------------------------------

Setting -Dorg.jboss.server.bootstrap.maxThreads=2 on the server will result in the same number of threads being used by JBoss MSC as when running on a single core machine.
                
> Server initialization race condition - cache config defaults not used
> ---------------------------------------------------------------------
>
>                 Key: ISPN-3920
>                 URL: https://issues.jboss.org/browse/ISPN-3920
>             Project: Infinispan
>          Issue Type: Bug
>          Components: Server
>    Affects Versions: 6.0.1.Final
>            Reporter: Ion Savin
>            Assignee: Ion Savin
>              Labels: 630
>             Fix For: 7.0.0.Alpha1, 7.0.0.Final
>
>         Attachments: server.log.gz
>
>
> The [simple|https://github.com/infinispan/cpp-client/blob/master/test/Simple.cpp] HRCPP unit tests puts a key/value pair into the default cache and then retrives the value to make sure it's the same. Running the test on a single CPU machine against 6.0.0.Final causes the test to fail.
> The root cause seems to be a race-condition in service initialization. The ProtocolServerServices are initialized (and create cache intances) before the CacheConfigurationServices finish loading the cache configuration defaults. Because of this AnyEquivalence is used for both keys and values instead of AnyServerEquivalence.

--
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