Skip to content

Add table-based migration locking for databases #972

@mfridman

Description

@mfridman

While goose supports PostgreSQL advisory locks, other databases lack this feature, leaving them vulnerable to concurrent migration race conditions.

Proposing a table-based locking mechanism.

This would ensure safe migrations for non-PostgreSQL databases in distributed deployments where multiple instances might attempt migrations simultaneously.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions