[infinispan-issues] [JBoss JIRA] (ISPN-1567) createHotRodServers() from org.infinispan.client.hotrod.test.MultiHotRodServersTest crashes when using replication queue
Galder Zamarreño (Updated) (JIRA)
jira-events at lists.jboss.org
Fri Nov 25 03:28:41 EST 2011
[ https://issues.jboss.org/browse/ISPN-1567?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Galder Zamarreño updated ISPN-1567:
-----------------------------------
Fix Version/s: 5.1.0.CR1
> createHotRodServers() from org.infinispan.client.hotrod.test.MultiHotRodServersTest crashes when using replication queue
> ------------------------------------------------------------------------------------------------------------------------
>
> Key: ISPN-1567
> URL: https://issues.jboss.org/browse/ISPN-1567
> Project: Infinispan
> Issue Type: Bug
> Components: Test Suite
> Affects Versions: 5.1.0.BETA5
> Reporter: Jozef Vilkolak
> Assignee: Galder Zamarreño
> Fix For: 5.1.0.CR1
>
>
> When a class extends MultiHotRodServersTest and tries to use createHotRodServers to create 2 servers with REPL_ASYNC and useReplQueue configurations, it crashes on the error message "Use of the replication queue is only allowed with an ASYNCHRONOUS cluster mode."
> {code:xml}
> Configuration config = new Configuration().fluent()
> .clustering()
> .mode(CacheMode.REPL_ASYNC)
> .async()
> .replQueueInterval(1000L)
> .useReplQueue(true)
> .eviction()
> .maxEntries(3)
> .build();
> createHotRodServers(2, config);
> {code}
> I think this happens because in HotRodServer in method createTopologyCacheConfig REPL_SYNC is set but replication queue is not disabled.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the infinispan-issues
mailing list