|
@@ -917,7 +917,6 @@ int CCD_API roxie_main(int argc, const char *argv[], const char * defaultYaml)
|
|
flushJHtreeCacheOnOOM = topology->getPropBool("@flushJHtreeCacheOnOOM", true);
|
|
flushJHtreeCacheOnOOM = topology->getPropBool("@flushJHtreeCacheOnOOM", true);
|
|
fastLaneQueue = topology->getPropBool("@fastLaneQueue", true);
|
|
fastLaneQueue = topology->getPropBool("@fastLaneQueue", true);
|
|
udpOutQsPriority = topology->getPropInt("@udpOutQsPriority", 0);
|
|
udpOutQsPriority = topology->getPropInt("@udpOutQsPriority", 0);
|
|
- udpSnifferEnabled = topology->getPropBool("@udpSnifferEnabled", true);
|
|
|
|
udpRetryBusySenders = topology->getPropInt("@udpRetryBusySenders", 0);
|
|
udpRetryBusySenders = topology->getPropInt("@udpRetryBusySenders", 0);
|
|
|
|
|
|
// Historically, this was specified in seconds. Assume any value <= 10 is a legacy value specified in seconds!
|
|
// Historically, this was specified in seconds. Assume any value <= 10 is a legacy value specified in seconds!
|
|
@@ -946,13 +945,13 @@ int CCD_API roxie_main(int argc, const char *argv[], const char * defaultYaml)
|
|
udpLocalWriteSocketSize = topology->getPropInt("@udpLocalWriteSocketSize", 1024000);
|
|
udpLocalWriteSocketSize = topology->getPropInt("@udpLocalWriteSocketSize", 1024000);
|
|
#ifndef _CONTAINERIZED
|
|
#ifndef _CONTAINERIZED
|
|
roxieMulticastEnabled = topology->getPropBool("@roxieMulticastEnabled", true) && !useAeron; // enable use of multicast for sending requests to agents
|
|
roxieMulticastEnabled = topology->getPropBool("@roxieMulticastEnabled", true) && !useAeron; // enable use of multicast for sending requests to agents
|
|
-#endif
|
|
|
|
|
|
+ udpSnifferEnabled = topology->getPropBool("@udpSnifferEnabled", roxieMulticastEnabled);
|
|
if (udpSnifferEnabled && !roxieMulticastEnabled)
|
|
if (udpSnifferEnabled && !roxieMulticastEnabled)
|
|
{
|
|
{
|
|
DBGLOG("WARNING: ignoring udpSnifferEnabled setting as multicast not enabled");
|
|
DBGLOG("WARNING: ignoring udpSnifferEnabled setting as multicast not enabled");
|
|
udpSnifferEnabled = false;
|
|
udpSnifferEnabled = false;
|
|
}
|
|
}
|
|
-
|
|
|
|
|
|
+#endif
|
|
int ttlTmp = topology->getPropInt("@multicastTTL", 1);
|
|
int ttlTmp = topology->getPropInt("@multicastTTL", 1);
|
|
if (ttlTmp < 0)
|
|
if (ttlTmp < 0)
|
|
{
|
|
{
|
|
@@ -1123,7 +1122,6 @@ int CCD_API roxie_main(int argc, const char *argv[], const char * defaultYaml)
|
|
queryDirectory.append(codeDirectory).append("queries");
|
|
queryDirectory.append(codeDirectory).append("queries");
|
|
}
|
|
}
|
|
addNonEmptyPathSepChar(queryDirectory);
|
|
addNonEmptyPathSepChar(queryDirectory);
|
|
- queryFileCache().start();
|
|
|
|
getTempFilePath(tempDirectory, "roxie", topology);
|
|
getTempFilePath(tempDirectory, "roxie", topology);
|
|
|
|
|
|
#ifdef _WIN32
|
|
#ifdef _WIN32
|
|
@@ -1188,7 +1186,10 @@ int CCD_API roxie_main(int argc, const char *argv[], const char * defaultYaml)
|
|
enableForceRemoteReads(); // forces file reads to be remote reads if they match environment setting 'forceRemotePattern' pattern.
|
|
enableForceRemoteReads(); // forces file reads to be remote reads if they match environment setting 'forceRemotePattern' pattern.
|
|
|
|
|
|
if (!oneShotRoxie)
|
|
if (!oneShotRoxie)
|
|
|
|
+ {
|
|
|
|
+ queryFileCache().start();
|
|
loadPlugins();
|
|
loadPlugins();
|
|
|
|
+ }
|
|
unsigned snifferChannel = numChannels+2; // MORE - why +2 not +1??
|
|
unsigned snifferChannel = numChannels+2; // MORE - why +2 not +1??
|
|
#ifdef _CONTAINERIZED
|
|
#ifdef _CONTAINERIZED
|
|
initializeTopology(topoValues, myRoles);
|
|
initializeTopology(topoValues, myRoles);
|