[ https://forge.continuent.org/jira/browse/SEQUOIA-921?page=all ] Mathieu Peltier closed SEQUOIA-921: -----------------------------------
This has been tested > Cannot transfer backend when minPoolSize and maxPoolSize are set to 0 (using > VariablePoolConnectionManager) > ----------------------------------------------------------------------------------------------------------- > > Key: SEQUOIA-921 > URL: https://forge.continuent.org/jira/browse/SEQUOIA-921 > Project: Sequoia > Type: Bug > Components: Core > Versions: Sequoia 2.10.6 > Reporter: Stephane Giron > Assignee: Mathieu Peltier > Fix For: Sequoia 2.10.7 > > > Trying to use transfer backend command from the console will not work if > connection pool is a variable pool and its min and max Pool size are both set > to 0. > This will show the following logs : > An error occured while transfering the backend > org.continuent.sequoia.common.exceptions.VirtualDatabaseException: A > connection manager is missing for login unicluster > at > org.continuent.sequoia.controller.virtualdatabase.DistributedVirtualDatabase.sendMessageToController(DistributedVirtualDatabase.java:2746) > at > org.continuent.sequoia.controller.virtualdatabase.DistributedVirtualDatabase.transferBackend(DistributedVirtualDatabase.java:2822) > at > org.continuent.sequoia.controller.virtualdatabase.management.VirtualDatabase.transferBackend(VirtualDatabase.java:257) > On the target controller : > Failed to add connection manager (java.lang.IllegalArgumentException: Illegal > value for size of the pool connection manager: 0) > java.lang.IllegalArgumentException: Illegal value for size of the pool > connection manager: 0 > at > org.continuent.sequoia.controller.connection.AbstractPoolConnectionManager.<init>(AbstractPoolConnectionManager.java:99) > at > org.continuent.sequoia.controller.connection.VariablePoolConnectionManager.<init>(VariablePoolConnectionManager.java:162) > at > org.continuent.sequoia.controller.connection.VariablePoolConnectionManager.<init>(VariablePoolConnectionManager.java:109) > at > org.continuent.sequoia.controller.backend.DatabaseBackend.<init>(DatabaseBackend.java:343) > at > org.continuent.sequoia.controller.virtualdatabase.protocol.BackendTransfer.handleMessageMultiThreaded(BackendTransfer.java:146) > at > org.continuent.sequoia.controller.virtualdatabase.DistributedVirtualDatabase.handleMessageMultiThreaded(DistributedVirtualDatabase.java:357) > at > org.continuent.hedera.adapters.MulticastRequestAdapterThread.run(MulticastRequestAdapterThread.java:102) -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: https://forge.continuent.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira _______________________________________________ Sequoia mailing list [email protected] https://forge.continuent.org/mailman/listinfo/sequoia
