Adds immediate migration results in progress
This commit is contained in:
2102 files changed
+17482
-15071
No files matched your search
@@ -49,7 +49,7 @@ void SessionHandler::onCreateSession(const QString &partitionNameSv, const QStri
|
||||
const QString partitionName = partitionNameSv + QLatin1Char('-') + partitionNameWs;
|
||||
if (m_sessionMap.contains(partitionName))
|
||||
{
|
||||
WARNING_LOG() << "Got create session for " << partitionName << ", but is already created";
|
||||
WARNING_LOG(m_logger) << "Got create session for " << partitionName << ", but is already created";
|
||||
return;
|
||||
}
|
||||
Session *session = new Session(partitionNameSv, partitionNameWs);
|
||||
@@ -58,12 +58,12 @@ void SessionHandler::onCreateSession(const QString &partitionNameSv, const QStri
|
||||
topicsToRouteToWs(),
|
||||
topicsToRouteToSv()))
|
||||
{
|
||||
WARNING_LOG() << "Can not initialize session for " << partitionName << ", routing will not work...!";
|
||||
WARNING_LOG(m_logger) << "Can not initialize session for " << partitionName << ", routing will not work...!";
|
||||
delete session;
|
||||
return;
|
||||
}
|
||||
m_sessionMap[partitionName] = session;
|
||||
INFO_LOG() << "Successfully created session for " << partitionName;
|
||||
INFO_LOG(m_logger) << "Successfully created session for " << partitionName;
|
||||
}
|
||||
|
||||
void SessionHandler::onDestroySession(const QString &partitionNameSv, const QString &partitionNameWs)
|
||||
@@ -72,14 +72,14 @@ void SessionHandler::onDestroySession(const QString &partitionNameSv, const QStr
|
||||
auto it = m_sessionMap.find(partitionName);
|
||||
if (it == m_sessionMap.end())
|
||||
{
|
||||
WARNING_LOG() << "Got destroy session for " << partitionName << ", but is not created (already destroyed?)";
|
||||
WARNING_LOG(m_logger) << "Got destroy session for " << partitionName << ", but is not created (already destroyed?)";
|
||||
return;
|
||||
}
|
||||
Session *session = it.value();
|
||||
session->shutdown();
|
||||
delete session;
|
||||
m_sessionMap.erase(it);
|
||||
INFO_LOG() << "Successfully destroyed session for " << partitionName;
|
||||
INFO_LOG(m_logger) << "Successfully destroyed session for " << partitionName;
|
||||
}
|
||||
|
||||
bool SessionHandler::loadPlugins()
|
||||
@@ -107,7 +107,7 @@ bool SessionHandler::loadPlugin(const LtsPluginManager::PluginInstance &pi)
|
||||
QStringLiteral("PDM"),
|
||||
});
|
||||
if (skipList.contains(pi.pluginName.toUpper()))
|
||||
DEBUG_LOG() << "Skipping plugin " << pi.pluginName.toUpper() << " - is global";
|
||||
DEBUG_LOG(m_logger) << "Skipping plugin " << pi.pluginName.toUpper() << " - is global";
|
||||
|
||||
m_topicTypePlugins.push_back(typePlugin);
|
||||
|
||||
|
||||
Reference in new issue
Block a user