Details
-
Bug
-
Resolution: Done
-
Major
-
5.1.0.BETA5
-
None
Description
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."
Configuration config = new Configuration().fluent() .clustering() .mode(CacheMode.REPL_ASYNC) .async() .replQueueInterval(1000L) .useReplQueue(true) .eviction() .maxEntries(3) .build(); createHotRodServers(2, config);
I think this happens because in HotRodServer in method createTopologyCacheConfig REPL_SYNC is set but replication queue is not disabled.