浏览代码

HPCC-22804 Roxie not handling remote exceptions correctly

Subchannels are supposed to be zero-based, but were being initialized
incorrectly.

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
Richard Chapman 5 年之前
父节点
当前提交
a55c4960fa
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      roxie/udplib/udptopo.cpp

+ 1 - 1
roxie/udplib/udptopo.cpp

@@ -142,7 +142,7 @@ CTopologyServer::CTopologyServer(const char *topologyInfo)
                 slaves[channel].append(ep);
                 if (ep.equals(mySlaveEP))
                 {
-                    mySubChannels[channel] = slaves[channel].ordinality();
+                    mySubChannels[channel] = slaves[channel].ordinality()-1;
                     channels.push_back(channel);
                 }
                 slaves[0].append(ep);