Bug Description
After upgrading from Langflow 1.4 to 1.5, we started experiencing frequent deadlocks in the transactions table. The system had been running smoothly before the upgrade, but now, every day around 10:00 AM, the database session count spikes and eventually stalls due to deadlocks.
Environment details:
AWS ECS with 5 tasks
Shared disk: OFS
Database: AWS RDS PostgreSQL
Previous version: 1.4 (no issues)
Current version: 1.5 (deadlocks occur daily)
Reproduction
Run Langflow 1.5 with the configuration above.
Wait until approximately 10:00 AM UTC-3.
Monitor RDS and note the deadlocks in the transactions table.
Expected behavior
- Is there a way to disable or bypass the automatic DELETE behavior causing these deadlocks until a fix is released?
- No deadlocks, same stability as in version 1.4.
Who can help?
No response
Operating System
ECS
Langflow Version
1.5
Python Version
None
Screenshot
No response
Flow File
No response
Bug Description
After upgrading from Langflow 1.4 to 1.5, we started experiencing frequent deadlocks in the transactions table. The system had been running smoothly before the upgrade, but now, every day around 10:00 AM, the database session count spikes and eventually stalls due to deadlocks.
Environment details:
AWS ECS with 5 tasks
Shared disk: OFS
Database: AWS RDS PostgreSQL
Previous version: 1.4 (no issues)
Current version: 1.5 (deadlocks occur daily)
Reproduction
Run Langflow 1.5 with the configuration above.
Wait until approximately 10:00 AM UTC-3.
Monitor RDS and note the deadlocks in the transactions table.
Expected behavior
Who can help?
No response
Operating System
ECS
Langflow Version
1.5
Python Version
None
Screenshot
No response
Flow File
No response