Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix disappearing outputs from long running tasks
with external storage enabled In case of a: 1. Long running task 2. With big output (externalized) 3. With output growing over time 4. Causing multiple externalize / internalize executions 5. ... such as a join task collecting outputs of all forked tasks 6. Lost some of its outputs when finally completed This issue was caused by / because: 1. On an Nth execution of a task (such as described above) 2. The task internalized its intermediate output from external storage 3. The task was executed and it updated its output to current value in memory 4. The task tried to externalize the new version of its output 5. ... but while doing so, the outputPayload (last externalized value) was combined with outputData (current, in-memory value) in a way where output payload over-wrote the latest values 6. Thus, newly calculated outputs have been lost Signed-off-by: Maros Marsalek <[email protected]>
- Loading branch information