mirror of https://github.com/apache/cloudstack.git
When using CloudStack with database HA configuration user receives warnings constantly saying “No database selected”.
This problem happens at com.cloud.cluster.ClusterManagerImpl.getHeartbeatTask().new ManagedContextRunnable(){...}.runInContext(), line 550. The scheme of the database is not properly set in the transaction when database HA options are enabled.
|
||
|---|---|---|
| .. | ||
| DbAnnotatedBase.java | ||
| DbAnnotatedBaseDerived.java | ||
| DbTestDao.java | ||
| DbTestUtils.java | ||
| DbTestVO.java | ||
| DummyComponent.java | ||
| ElementCollectionTest.java | ||
| FilterTest.java | ||
| GenericDaoBaseTest.java | ||
| GlobalLockTest.java | ||
| GroupByTest.java | ||
| Merovingian2Test.java | ||
| TestTransaction.java | ||
| TransactionContextBuilderTest.java | ||