Added error handler implemetation to rtlMalloc() and rtlRealloc() functions.

Signed-off-by: Attila Vamos <attila.vamos@gmail.com>
HPCC-9271 Show 'truncated' message for viewing large file

Inside the Helpers section of the ECL Workunit Details page, there is a
640k limit for displaying a cpp file, xml file, and workunit archive
file. This fix checks the size of the helper file. If it is larger than
640k bytes, a message '(Truncated to 640K bytes)' will be added beside
the View File link.

When a helper file is downloaded, the existing code uses 'file path
 + file name' as 'attachment filename'. Internet browser replaces
the Path Separators in the file path with the '_'s and the file
name looks strange. This fix removes the file path from the
'attachment filename'.

Signed-off-by: Kevin Wang <kevin.wang@lexisnexis.com>
HPCC-8477 - DFU server is CPU bound for the first phase of CSV files

These fix improves CSV file spray performance when the target is multiple
nodes.

Changes:

- In this particular case a new CCsvMatcher class introduced because the
  original matcher was a bottleneck. If the Special characters of CSV file
  (separator, terminator and quote) are doesn't change or change to only one
  character long new character with a command line parameter, the the process
  use CCsvMatcher. Any other case the old matcher used.

- The used blocksize increased to decrease IO overload.

- When the split size is bigger than the blocksize
  CCsvPartitioner::getSplitRecordSize() function returns with the summarised
  record size in the buffer instead of individual one until it reaches the last
  part ( which is < blocksize). For the last part is switch back to returns
  with individual record size.

Signed-off-by: Attila Vamos <attila.vamos@gmail.com>
HPCC-9324 Error handler missing after malloc() call several places in
eclrtl.cpp

Replace all malloc() function calls to rtlMalloc() which is handles the memory
allocation error.

Signed-off-by: Attila Vamos <attila.vamos@gmail.com>
Reworked after review.

Signed-off-by: Attila Vamos <attila.vamos@gmail.com>
HPCC-9384 The testsearch2.ecl query in regression suite needs key updating

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
HPCC-9303 - Use thread pool for DFS requests

Use threadpool for DFS server (used to be single threaded)

Signed-off-by: Jake Smith <jake.smith@lexisnexis.com>
HPCC-9344 Ecl queries list socket creation needs longer timeout

Signed-off-by: Stuart Ort <stuart.ort@lexisnexis.com>
HPCC-9392 Roxie inactive file handle closer is broken

A regression introduced by the tracing improvements in HPCC-9027 (commit
0a5d16b) caused all files to be immediately reopened after closing.

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
Merge pull request #4424 from richardkchapman/roxie-filecache-regression

HPCC-9392 Roxie inactive file handle closer is broken

Reviewed-by: Gavin Halliday <ghalliday@hpccsystems.com>
Merge remote-tracking branch 'origin/candidate-3.10.8' into candidate-3.10.x

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

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
HPCC-9393 ATMOST stats inaccurate

Uninitialized variable means that the stats reported for keyed joins that are
reset but never started will be random.

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
Merge pull request #4425 from richardkchapman/atmost-stats-uninit

HPCC-9393 ATMOST stats inaccurate

Reviewed-by: Gavin Halliday <ghalliday@hpccsystems.com>
Merge remote-tracking branch 'origin/candidate-4.0.0' into closedown-4.0.x

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
Merge remote-tracking branch 'origin/closedown-4.0.x'

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
HPCC-9394 Remove unsafe (but unused) code in ccdfile.cpp

Some code left over from refactoring that was done for initial OSS release.

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
HPCC-9248 Option to expand hash distribute and match existing distribution

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

Signed-off-by: Attila Vamos <attila.vamos@gmail.com>
Merge pull request #4423 from stuartort/ecl-querylisterror

HPCC-9344 Ecl queries list socket creation needs longer timeout

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>