I am writing a SSIS package to allow us to execute our ssis tasks in parallel. I have a control system that manages which packages to execute. The packages are grouped into packages that can be executed at the same time (ie not dependent on any other package in the group), and ordered by these groupings.
I am getting all the packages to execute along with their group into a table which I am using as a queue table. I then getting all the groups into an object and looping though the groups in a ForEach loop. Within this FEL, I have got 2 sequence containers. These containers have variables that are scoped to them. I get the next package from the queue table based on the group required. Parallel Execute package
The usual behavior is that the first group that executes in the loop works well, with packages running on SEQ0 and SEQ1.
The issue is coming during the execute of the next group, where only one sequence container executes, so there is no parallel execute. It can alternate with either 0 or 1 executing, but the other one does not start. I added some logging to the "Get Execution Attributes" stored proc as I was wondering if this was returning no rows on one side stopping the execute, but there was no log, so it is not executing at all on that side.
Does anyone have any idea why this would be happening that only one sequence container would execute?