瀏覽代碼

HPCC-23782 Roxie udp free_slots comparison fix

Signed-off-by: Mark Kelly <mark.kelly@lexisnexisrisk.com>
Mark Kelly 5 年之前
父節點
當前提交
34f60c7caa
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      roxie/udplib/udptrr.cpp

+ 1 - 1
roxie/udplib/udptrr.cpp

@@ -706,7 +706,7 @@ class CReceiveManager : implements IReceiveManager, public CInterface
         }
         }
         else if (i >= free)
         else if (i >= free)
         {
         {
-            if (udpTraceLevel)
+            if ((i > free) && (udpTraceLevel))
                 DBGLOG("UdpReceiver: ERROR: more packets in flight (%d) than slots free (%d)", i, free);  // Should never happen
                 DBGLOG("UdpReceiver: ERROR: more packets in flight (%d) than slots free (%d)", i, free);  // Should never happen
             inflight = i = free-1;
             inflight = i = free-1;
         }
         }