HPCC-11389 Ignore loopback interfaces when selecting the interface to use

Use the IFF_LOOPBACK flag as well as detecting loopback ip.

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
HPCC-11391 Queries that are suspended only on slaves are not reported

Update control:queryinfo, control:queries etc to show queries that are
suspended on some slaves only.

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
Merge pull request #5844 from richardkchapman/ignore-loopback

HPCC-11389 Ignore loopback interfaces when selecting the interface to use

Reviewed-by: Gavin Halliday <ghalliday@hpccsystems.com>
HPCC-11418 Roxie may stall for long periods under load

Switch spinlock finto criticalSection (will refactor further in 5.0 or later)

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
Merge pull request #5864 from richardkchapman/jhtree-spinlock

HPCC-11418 Roxie may stall for long periods under load

Reviewed-by: Gavin Halliday <ghalliday@hpccsystems.com>
Merge pull request #5846 from richardkchapman/roxie-suspended-slave-info

HPCC-11391 Queries that are suspended only on slaves are not reported

Reviewed-by: Gavin Halliday <ghalliday@hpccsystems.com>
HPCC-11412 Excessive log file size in Roxie

As a temporary workaround, until we can find and fix the reason, allow the
tracing of activity reset without stop to be suppressed via traceLevel.

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
Merge pull request #5872 from richardkchapman/reset-without-stop

HPCC-11412 Excessive log file size in Roxie

Reviewed-by: Gavin Halliday <ghalliday@hpccsystems.com>
HPCC-11430 Prevent stack fault when parameter not substituted

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
HPCC-11440 State hash should be comparable across clusters

In order to be able to compare hashes across clusters (which are liable to
have differences in topology files), exclude the topology hash from the
package hash and instead return it separately.

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
Merge pull request #5880 from ghalliday/issue11430

HPCC-11430 Prevent stack fault when parameter not substituted

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Merge pull request #5888 from richardkchapman/roxie-state-hashes

HPCC-11440 State hash should be comparable across clusters

Reviewed-by: Gavin Halliday <ghalliday@hpccsystems.com>
HPCC-11459 Add flag to toXML to allow newlines only formatting

Signed-off-by: Jake Smith <jake.smith@lexisnexis.com>
Merge pull request #5901 from jakesmith/hpcc-11459

HPCC-11459 Add flag to toXML to allow newlines only formatting

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
HPCC-11452 Ensure control:queries does not split lines

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
Merge pull request #5903 from richardkchapman/control-queries-format

HPCC-11452 Ensure control:queries does not split lines

Reviewed-by: Gavin Halliday <ghalliday@hpccsystems.com>
HPCC-11459 Fix OSX build break

Signed-off-by: Jake Smith <jake.smith@lexisnexis.com>
Merge pull request #5911 from jakesmith/hpcc-11459b

HPCC-11459 Fix OSX build break

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
HPCC-11477 Activities are being reset excessively

An activity with two outputs (typically a splitter) can be reset on one arm,
then (because of the stopSink issue where resets occur without stops), can be
stopped then reset on the other. The stop() causes the state no longer to be
reset, so the reset of the upstream activity tree is repeated.

When splitters are inputs to other splitters this can result in an exponential
explosion of calls to reset.

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
Merge pull request #5916 from richardkchapman/excessive-reset

HPCC-11477 Activities are being reset excessively

Reviewed-By: Jake Smith <jake.smith@lexisnexis.com>
Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>