Skip to main content

Hello all.

 

We have an application deployed to CloudHub 2.0 and is currently running in a multi-worker deployment. One flow is executed by a schedule once per day, but as it is a 2 worker solution is running 2 times separated by milliseconds. I know that is a normal behaviour of CH2.0 but, is there anyway to prevent that the flow executes 2 times? We are currently facing intermittent connection problems to BigQuery when the flow has already several successful executions.

 

Thanks in advance for any help you can provide.

1 answer
  1. Jan 29, 2025, 12:02 AM

    CloudHub 2.0 distributes multiple concurrent schedulers across replicas. This is one limitation, so we can not do anything outbox which means you need to run on the single replica in CloudHub 2.0

     

    But if there is a time difference gap, then you can use a variable with a value called status running and store it into Object Store later end of the flow you can change the status of the variable as completed. I mean something like this, I can not type everything, but you can use such custom only if you see a time gap.

     

    Thanks,

    Manish Kumar Yadav

    MuleSoft Forum Moderator