[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:22:29 EST 2014


Ion Savin created ISPN-3920:
-------------------------------

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


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