Skip to content

Migration 0156_alter_contentartifact_relative_path_and_more.py fails on a big deployment #8058

Description

@dkliban

Version
3.117.0

Describe the bug
The 0156_alter_contentartifact_relative_path_and_more.py migration fails to finish running on our large deployment. The database gets into a deadlock and the migration process fails. This happens over and over again as our deployment tries to run the migrations again.

The production DB is 8.5TB in size.

In our stage instance this migration finished in 40 minutes. That DB is 300GB.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions