소스 검색

HPCC-8245 - Ensure flushedRowMarkers is clear at start

Need to clear at start, to avoid issues with reruns in child
queries

Signed-off-by: Jake Smith <jake.smith@lexisnexis.com>
Jake Smith 11 년 전
부모
커밋
a83b93654d
1개의 변경된 파일4개의 추가작업 그리고 3개의 파일을 삭제
  1. 4 3
      thorlcr/activities/lookupjoin/thlookupjoinslave.cpp

+ 4 - 3
thorlcr/activities/lookupjoin/thlookupjoinslave.cpp

@@ -700,7 +700,7 @@ public:
         nextRhsRow = 0;
         rhsNext = NULL;
         atMost = 0;
-        setBroadcastingSpilt(0);
+        setBroadcastingSpilt(false);
         localLookupJoin = false;
         myNode = queryJob().queryMyRank();
         numNodes = queryJob().querySlaves();
@@ -829,7 +829,7 @@ public:
         /* These will need flushing when all is done and clearNonLocalRows will need recalling to process rest
          */
 
-        setBroadcastingSpilt(1);
+        setBroadcastingSpilt(true);
         ActPrintLog("Clearing non-local rows - cause: %s", msg);
         ForEachItemIn(a, rhsNodeRows)
         {
@@ -902,8 +902,9 @@ public:
         rightSerializer.set(::queryRowSerializer(rightITDL));
         rightDeserializer.set(::queryRowDeserializer(rightITDL));
 
-        setBroadcastingSpilt(0);
+        setBroadcastingSpilt(false);
         localLookupJoin = false;
+        flushedRowMarkers.kill();
 
         if (failoverToLocalLookupJoin && hashJoinHelper) // only for LOOKUP not ALL
         {