Skip to content

[Bug][framework] Database might deadlock when more than 100 blueprints gets triggerred at the same time #6899

Description

@klesh

Search before asking

  • I had searched in the issues and found no similar issues.

What happened

A user reported that when assigned 1000 blueprints with the same cron config would most likely cause the database deadlocked to deadlock

What do you expect to happen

No deadlock no matter how many blueprints get triggered at the same time

How to reproduce

  1. create 1000 bps with the same cronconfig
  2. wait for the bps get triggered, see rror

Anything else

No response

Version

v0.20

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/bugThis issue is a bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions