Skip to content

Trek advisory lock #40

Description

@GeertJohan

When deploying a trek db migartion in k8s, sometimes two pods may run at the same time.. go-migrate seems to do nothing to avoid a race when doing a full db reset. We could consider letting trek obtain an advisory lock. Which is cluster-wide in postgres, not database-wide, so it will survive a database reset.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions