[infinispan-issues] [JBoss JIRA] (ISPN-3920) Server initialization race condition - cache config defaults not used
Ion Savin (JIRA)
issues at jboss.org
Tue Apr 22 04:10:33 EDT 2014
[ https://issues.jboss.org/browse/ISPN-3920?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12962928#comment-12962928 ]
Ion Savin commented on ISPN-3920:
---------------------------------
[~rvansa] maybe that's another issue. This one is strictly about default configs not being used.
> 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