Ensure subgraphs of a global loop are global

If the loop is global and executing subgraphs synchronously, then ensure all
subgraphs of the loop are marked global. Otherwise, the locally executed
subgraphs, will call back to the master and can cause race conditions, when
creating the graph on the master.

Signed-off-by: Jake Smith <jake.smith@lexisnexis.com>
Guard against potential race condition

For child graphs, that are initiating creation on master, there's a possible
race condition if multiple slaves initialize the graph and/or request graph
initialization data at the same time

Signed-off-by: Jake Smith <jake.smith@lexisnexis.com>
Stop LIMIT SKIP|ONFAIL attributes being ignored

On very rare occasions the SKIP/ONFAIL attribute of a limit could
be ignored.  It occurred when a limit was incorrectly evaluated
using inline code, rather than executed in a child query.  This fix
ensures it is executed in the correct place.

Example was SET(LIMIT(ds, ONFAIL), field).

There were no other examples in any archived queries.

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
A couple of mptags not deallocated by acts

Global sort and join, allocated an mptag but neglected to deallocate.
This was noticed, after Thor had been running for a good while and the leaks
had built up, eventually triggering a 'Out of message tags' error.

Signed-off-by: Jake Smith <jake.smith@lexisnexis.com>
Potential failure in overflow buffer code

Some thread unsafeness in the overflow buffering code, could lead multiple
readers to cause the readersInUse count to go astray, and result in a
spurious assert later and/or other potential issues

Signed-off-by: Jake Smith <jake.smith@lexisnexis.com>
Splitter in child query race

Small window, where a downstream window might ask for meta info from
splitter output, before inputs have been reinitialized in reruns of a child
query.
Clear out old splitter input instances at end of query execute.

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

Potential failure in overflow buffer code

Reviewed-By: Gavin Halliday <gavin.halliday@lexisnexis.com>
Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Merge pull request #2119 from ghalliday/inlinelimit

Stop LIMIT SKIP|ONFAIL attributes being ignored

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Merge pull request #2124 from jakesmith/mptag-leak

A couple of mptags not deallocated by acts

Reviewed-By: Gavin Halliday <gavin.halliday@lexisnexis.com>
Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Merge pull request #2127 from jakesmith/splitter-race

Splitter in child query race

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Merge pull request #2113 from jakesmith/globalloopsubgraphs

Ensure subgraphs of a global loop are global

Reviewed-By: Gavin Halliday <gavin.halliday@lexisnexis.com>
Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
gh-2135 Enable the package file processing esp service

The esp configuration file was missing the appropriate settings
for the ws_packageprocess service.  The issue was introduced when
the code was moved into this branch.

Signed-off-by: Stuart Ort <stuart.ort@lexisnexis.com>
Merge pull request #2136 from stuartort/pkgsmc

gh-2135 Enable the package file processing esp service

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Change URL in DataTutorial for OriginalPerson file to match location on portal

Signed-off-by: JamesDeFabia <James.Defabia@LexisNexis.com>
Merge pull request #2145 from JamesDeFabia/fixURL

Change URL in DataTutorial for OriginalPerson file to match location on portal

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>