Преглед изворни кода

HPCC-26043 Fix Thor Usage if Thor has > ThorSlaveProcess on same machine

Signed-off-by: Jake Smith <jake.smith@lexisnexisrisk.com>
Jake Smith пре 4 година
родитељ
комит
fdac2a749a
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      esp/services/ws_machine/ws_machineService.cpp

+ 1 - 1
esp/services/ws_machine/ws_machineService.cpp

@@ -2404,7 +2404,7 @@ void Cws_machineEx::readThorUsageReq(const char* name, IConstEnvironment* constE
 
     Owned<IPropertyTree> machineReq = createMachineUsageReq(constEnv, computer);
     xpath.setf("Machine[@netAddress='%s']", machineReq->queryProp("@netAddress"));
-    if (componentReq->queryPropTree(xpath))
+    if (componentReq->hasProp(xpath))
     {   //ThorMasterProcess is running on one of the ThorSlaveProcess machines.
         //So, we do not add this machine again.
         usageReq->addPropTree(componentReq->queryName(), LINK(componentReq));