hpcc-systems/HPCC-Platform — pull request #5174 by jakesmith (2013-12-03 17:16:53+00:00)
Title: HPCC-10465 - Global merge bug if varrecs and late detection

Global merge builds up a local sample of the keys as it performs
the local merge, as it exceeds a threshold, the sample is divided
to keep the size down. If the keys are variable length but fixed
with up to the point when the 1st sample occurs, the file
positions the mechanism is tracking got out of sync.
Consequently, when merging from the spilt key stream, the seek
positions were wrong, which could result in deserialization
errors.

Signed-off-by: Jake Smith