Skip to content

Deadlocks in transactions table after upgrading to Langflow 1.5 #9395

Description

@a6santa

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)

Image Image

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions