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

Ion Savin (JIRA) issues at jboss.org
Wed Jan 22 10:30:28 EST 2014


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

Ion Savin updated ISPN-3920:
----------------------------

              Status: Pull Request Sent  (was: Open)
    Git Pull Request: https://github.com/infinispan/infinispan/pull/2346


Add a dependency between the protocol server services and the default cache.
                
> 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
>            Reporter: Ion Savin
>            Assignee: Mircea Markus
>         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