Skip to content

Extend the criterion of data dependency resolution

Illya Shapoval requested to merge ishapova/Gaudi:extend-DR-criterion into master

Change:

Promote an algorithm to DATAREADY if all its data supplying algorithms are either in EVTACCEPTED or EVTREJECTED state. Before, only EVTACCEPTED was recognized, which could cause, in some situations, to a false-negative resolution.

Why:

Typically, an EVTREJECTED algorithm is used to "short-circuit" the execution flow within the group of algorithms it belongs to. Within such early-terminated group, a false-negative data dependency resolution can never occur since all downstream algorithms are skipped. However, there might be other algorithms - outside of the early-terminated group - that depend on data outputs of the EVTREJECTED algorithm. This fix let the data dependencies of such algorithms be resolved correctly.

Merge request reports