[infinispan-issues] [JBoss JIRA] (ISPN-1567) createHotRodServers() from org.infinispan.client.hotrod.test.MultiHotRodServersTest crashes when using replication queue
Jozef Vilkolak (Created) (JIRA)
jira-events at lists.jboss.org
Thu Nov 24 12:49:40 EST 2011
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
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