Browse Source

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 years ago
parent
commit
a55c4960fa
1 changed files with 1 additions and 1 deletions
  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);