Selaa lähdekoodia

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

Signed-off-by: Jake Smith <jake.smith@lexisnexisrisk.com>
Jake Smith 4 vuotta sitten
vanhempi
commit
fdac2a749a
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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));