Skip to content

Excessive task_lists Updates Causing DB Connection Exhaustion #7491

@aman-vaidya

Description

@aman-vaidya

Hi,

We are using Cadence with the Java client and MySQL persistence and are observing continuous execution of the following internal query:

UPDATE task_lists SET range_id = ?, DATA = ?

Under load, this query runs repeatedly for several hours, opening a large number of database connections and eventually exhausting the DB connection pool. This leads to performance degradation and db choking.

The query appears to be generated internally by Cadence (matching service), not by application code. We suspect task queue contention, high poller concurrency, or frequent task list ownership changes.

Are there known causes or recommended limits/configurations to prevent excessive task_lists updates?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions