Adds immediate migration results in progress

This commit is contained in:
torsten committed 2026-08-19 11:18:24 +02:00
1 parent 8453e104c5
commit 3bb6e89496
2102 files changed
+17482 -15071

No files matched your search

@@ -36,7 +36,7 @@ bool HandlerInjuryModel::init()
if(ret.error())
{
delete ifs;
ERROR_LOG() << ret();
ERROR_LOG(m_logger) << ret();
bRet = false;
return;
}
@@ -44,18 +44,18 @@ bool HandlerInjuryModel::init()
};
if (!m_mainHandler->db()->select(cb) || !bRet)
{
ERROR_LOG() << "Error reading data from database!";
ERROR_LOG(m_logger) << "Error reading data from database!";
return true;
}
DEBUG_LOG() << "m_exeObjMap.size() = " << m_injurymodelObjMap.size();
DEBUG_LOG(m_logger) << "m_exeObjMap.size() = " << m_injurymodelObjMap.size();
return true;
}
void HandlerInjuryModel::onModifyInjuryModelAgdusWhRequest(const rti::core::SampleIdentity &cookie, const InjuryModelAgdusWh &request)
{
DEBUG_LOG() << "onModifyInjuryModelAgdusWhRequest() id:" << request.id();
DEBUG_LOG(m_logger) << "onModifyInjuryModelAgdusWhRequest() id:" << request.id();
Core::FunctionReplyObject ret;
if (request.id() <= 0)
@@ -73,7 +73,7 @@ void HandlerInjuryModel::onModifyInjuryModelAgdusWhRequest(const rti::core::Samp
{
delete ifs;
ifs = nullptr;
ERROR_LOG() << ret();
ERROR_LOG(m_logger) << ret();
}
else
m_injurymodelObjMap.insert(ifs->getId(), ifs);
@@ -98,14 +98,14 @@ void HandlerInjuryModel::onModifyInjuryModelAgdusWhRequest(const rti::core::Samp
}
if (ret.error())
ERROR_LOG() << ret();
ERROR_LOG(m_logger) << ret();
m_mainHandler->dds()->fts()->modifyInjuryModelAgdusWhReply(cookie, ret);
}
void HandlerInjuryModel::onRemoveInjuryModelAgdusWhRequest(const rti::core::SampleIdentity &cookie, const Core::RemoveElementRequest &request)
{
DEBUG_LOG() << "onRemoveInjuryModelAgdusWhRequest() id:" << request.id();
DEBUG_LOG(m_logger) << "onRemoveInjuryModelAgdusWhRequest() id:" << request.id();
Core::FunctionReplyObject ret;
ObjectInjuryModel *ifs = m_injurymodelObjMap.value(request.id());
@@ -119,7 +119,7 @@ void HandlerInjuryModel::onRemoveInjuryModelAgdusWhRequest(const rti::core::Samp
ret = ifs->removeObject();
if (ret.error())
ERROR_LOG() << ret();
ERROR_LOG(m_logger) << ret();
else
{
// delete ObjectInjuryModel