Переглянути джерело

HPCC-21609 Return correct thor node type for spare node

The existing ECLWatch shows thor spares as slaves because ESP does not
return correct thor node type for spare node.

Signed-off-by: wangkx <kevin.wang@lexisnexis.com>
wangkx 6 роки тому
батько
коміт
fac7f02268
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      esp/smc/SMCLib/TpWrapper.cpp

+ 1 - 1
esp/smc/SMCLib/TpWrapper.cpp

@@ -1531,7 +1531,7 @@ void CTpWrapper::getThorSpareMachineList(double clientVersion, const char* clust
         unsigned processNumber = 0;
         Owned<INodeIterator> gi = nodeGroup->getIterator();
         ForEach(*gi)
-            appendMachineList(clientVersion, constEnv, gi->query(), clusterName, eqThorSlaveProcess, processNumber, directory, machineList);
+            appendMachineList(clientVersion, constEnv, gi->query(), clusterName, eqThorSpareProcess, processNumber, directory, machineList);
     }
     catch(IException* e)
     {