Skip to content

Migrations are flaky #17428

Open
Open
@miketheman

Description

@miketheman

Recent migration efforts have shown that some of the operations requested fail within the time allotted, leading to deploy-time errors. One recent example:

OperationalError: (psycopg.errors.QueryCanceled) canceling statement due to statement timeout
[SQL: ALTER TABLE public."projects" 
                ALTER COLUMN lifecycle_status TYPE public.lifecyclestatus 
                USING lifecycle_status::text::public.lifecyclestatus
                ]

Other migrations with tweaks/twiddles:

One Idea, not a great one: #16235

These are often related to some of our more "popular" tables, like projects/releases/files - and we should be able to ship migrations with a little more confidence than we do right now.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions