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.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions