Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
HPCC-20864 Avoid race condition fetching loop input dataset
If a child query activity asked for the entire global loop input dataset, a race could happen where the result on some slaves was not prepared at the time the result was requested, causing an assert to be hit. Fix is to move the synchronization point, until after the input is prepared, to do this required moving some of the code out of a couple of 'execute' helper functions. Signed-off-by: Jake Smith <jake.smith@lexisnexisrisk.com>
- Loading branch information
Showing
4 changed files
with
23 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters