[infinispan-issues] [JBoss JIRA] (ISPN-3920) Server initialization race condition - cache config defaults not used
Radim Vansa (JIRA)
issues at jboss.org
Fri Apr 18 10:00:34 EDT 2014
[ https://issues.jboss.org/browse/ISPN-3920?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12962766#comment-12962766 ]
Radim Vansa commented on ISPN-3920:
-----------------------------------
I am not sure this was resolved completely - when I restart the server in qemu-kvm (using single processor), I occasionally see errors from the logging subsystem (such as that some handler was not defined). Nevertheless, for JDG subsystems it appears to work.
> 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