From a5038cd79ba6b99ddd10f6bf392c65e330f0db8c Mon Sep 17 00:00:00 2001 From: david hill Date: Thu, 16 Nov 2017 08:48:01 -0600 Subject: [PATCH] fix added in um module for mysqlrep --- procmon/processmonitor.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/procmon/processmonitor.cpp b/procmon/processmonitor.cpp index 1a1092e61..90679ee28 100644 --- a/procmon/processmonitor.cpp +++ b/procmon/processmonitor.cpp @@ -5267,8 +5267,9 @@ int ProcessMonitor::runMasterDist(std::string& password, std::string& slaveModul string moduleType = slaveModule.substr(0,MAX_MODULE_TYPE_SIZE); - if ( ( (PMwithUM == "y") && (moduleType == "pm") ) && - ( config.ServerInstallType() == oam::INSTALL_COMBINE_DM_UM_PM) ) + if ( (moduleType == "um") || + ( (PMwithUM == "y") && (moduleType == "pm") ) || + ( config.ServerInstallType() == oam::INSTALL_COMBINE_DM_UM_PM) ) { slave++;