HPCC-7888 Ensure query dlls in separate dir

In multi slave setups, the query dll must not clash.
Ensure it's in it's own directory.

Signed-off-by: Jake Smith <jake.smith@lexisnexis.com>
Split off closedown branch for 3.8.6

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
Split off closedown branch for 3.8.6

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
HPCC-7861 Fix field xpath('') causing invalid XML

In ECL an xpath('') has a special meaning indicating that the
content of the field should be output without a tag surounding it.

Currently an xpath('') is producing an invalid outter tag of <></>.

Output:
CONTENT

Rather than:
<tag>CONTENT</tag>

Signed-off-by: Anthony Fishbeck <Anthony.Fishbeck@lexisnexis.com>
Merge pull request #3424 from afishbeck/blank_xpath3.8.6

HPCC-7861 Fix field xpath('') causing invalid XML

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Merge pull request #3411 from jakesmith/multislave-queryso-3.8.x

HPCC-7888 Ensure query dlls in separate dir

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Merge remote-tracking branch 'origin/candidate-3.8.x' into candidate-3.8.6

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
Merge remote-tracking branch 'origin/candidate-3.8.6' into candidate-3.8.x

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
Community Edition 3.8.6 Release Candidate 1

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
HPCC-7884 Detect superfile error on reload subs

This check throws an error on invalid ranges, which will trigger an error
message on both listing a superfile and trying to add new subfiles to it.
Also relevant to HPCC-7938.

Signed-off-by: Renato Golin <rengolin@hpccsystems.com>
Merge pull request #3451 from rengolin/dfs-badsuper

HPCC-7884 Detect superfile error on reload subs

Reviewed-By: Jake Smith <jake.smith@lexisnexis.com>
Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
HPCC-7880 - Additional thor memory tracing

Trace # maxCores setting per job
Trace roxiemem and heap usage at end of each job.

Signed-off-by: Jake Smith <jake.smith@lexisnexis.com>
HPCC-7942 Fix problem with LIMIT(0) on an JOIN(,ALL)

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
Merge pull request #3467 from ghalliday/issue7942

HPCC-7942 Fix problem with LIMIT(0) on an JOIN(,ALL)

Reviewed-By: Renato Golin <rengolin@hpccsystems.com>
Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
HPCC-7996 Introduce memory manager spill threshold option

Add a thor option to allow the memory manager to be configured, so that it
can spill when it hits a certain threshold(%), default 80%.
The reasoning being, that if the memory manager waits until it is out of
memory before requesting memory to be freed, those requests can take some
time (e.g. sort+flush to disk), and cause all other small memory consumers
to block in the meantime.

Signed-off-by: Jake Smith <jake.smith@lexisnexis.com>
HPCC-8001 Stop generating grouped hash aggregate activities

Hash aggregate activities should always currentlybe global or local.

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
Changes following review

1) Use elapsedCycles for efficiency (and static calc. of 1 sec in cycles)
2) Add memorySpillAt to thor.xsd
3) handle memorySpillAt of 0

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

HPCC-7996 Introduce memory manager spill threshold option

Reviewed-By: Gavin Halliday <gavin.halliday@lexisnexis.com>
Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
HPCC-8001 Modify example to ensure group aggregate not generated

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
Merge pull request #3485 from ghalliday/issue8001

HPCC-8001 Stop generating grouped hash aggregate activities

Reviewed-By: Renato Golin <rengolin@hpccsystems.com>
Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>