Explorar o código

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 %!s(int64=6) %!d(string=hai) anos
pai
achega
fac7f02268
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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)
     {