Merge remote-tracking branch 'origin/candidate-3.8.x' into candidate-3.8.6

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

Signed-off-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>
Community Edition 3.8.6-2 Gold

Signed-off-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>
Community Edition 3.8.6-3 Gold

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

Reviewed-by: Gavin Halliday <ghalliday@hpccsystems.com>
Community Edition 3.8.6-4 Gold

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
HPCC-8129 Fix bug generating an optimized hash function on a child dataset

For DEDUP(ds, x,y,z), if the list of fields contained a child dataset the
hash function generated when targetting Thor was incorrect, and could
cause thor to crash.  It could possibly be triggered in other situations
as well.

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

HPCC-8129 Fix bug generating an optimized hash function on a child dataset

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Community Edition Release 3.8.6-5

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
HPCC-8120 Firstn deadlock

FirstN in combination with certain upstream activities can caused
a deadlock. The problem occurs, when the firstN lookahead hits
it's limit on some nodes and attempts to a) signal the next node
and b) wait for the reader to finish processing or signal stop
the rows it has buffered.
Either one can block, which will prevent the lookahead signalling
'stop' to input it has been reading on. In some circumstances
those inputs will be blocked themselves, e.g. because their
buffers are full, waiting for either read or stop signal.

Spin off the signal to next node and local row cache flush to
a separate thread, and allow the input stop to be called.

Signed-off-by: Jake Smith <jake.smith@lexisnexis.com>
HPCC-8213 Disable sub-file checking on internal build

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

HPCC-8213 Disable sub-file checking on internal build

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Merge pull request #3631 from jakesmith/firstn-deadlock-3.8.6

HPCC-8120 Firstn deadlock

Reviewed-By: Gavin Halliday <gavin.halliday@lexisnexis.com>
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>
Community Edition Release 3.8.6-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>
HPCC-8216 Csvread,opt heading crash

If a csv read has OPT and HEADING attributes and the logical file
is missing, a crash will occur inside the master serialization
code for the activity

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

HPCC-8216 Csvread,opt heading crash

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>