Hi I’m running multiple n8n workers behind a load balancer, and I’ve started noticing strange behavior during deployments/updates.Load Balancer
↓
Multiple n8n Workers
↓
Queue Mode + Shared DB
The issue is that during workflow updates:
• Some executions seem to run the old workflow version
• Others pick up the new version immediately
• Long-running executions behave inconsistently after deployment
This becomes especially noticeable with:
• Queue mode
• Multiple active workers
• Long-running workflows
• Deployments during active processing
For example:
• Worker A processes Step 1 with old logic
• Deployment happens
• Worker B continues Step 2 with new logic
which can create inconsistent state or unexpected behavior.
I’m trying to figure out the best production strategy for:
• Safe workflow deployments
• Version consistency across workers
• Handling long-running executions during updates
• Avoiding mixed-version processing
I’ve considered:
• Draining workers before deploy
• Versioned workflows
• Blue/green deployments
• Queue pausing during rollout
For teams running n8n at scale:
• How are you handling workflow version consistency during deployments?
Describe the problem/error/question
What is the error message (if any)?
Please share your workflow
(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)
Share the output returned by the last node
Information on your n8n setup
- n8n version:
- Database (default: SQLite):
- n8n EXECUTIONS_PROCESS setting (default: own, main):
- Running n8n via (Docker, npm, n8n cloud, desktop app):
- Operating system: