From dcfe421ddaa8121d1ebaefe4ad3e3437ad9928f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Duchesneau?= Date: Thu, 21 Mar 2024 10:45:06 -0400 Subject: [PATCH] fix work plan: with new model, don't run all stages together on first segment --- orchestrator/stage/stages.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/orchestrator/stage/stages.go b/orchestrator/stage/stages.go index b94bdffb5..a73fbc923 100644 --- a/orchestrator/stage/stages.go +++ b/orchestrator/stage/stages.go @@ -397,9 +397,6 @@ func (s *Stages) allocSegments(segmentIdx int) { } func (s *Stages) dependenciesCompleted(u Unit) bool { - if u.Segment <= s.stages[u.Stage].segmenter.FirstIndex() { - return true - } if u.Stage == 0 { return true }