Skip to content

Support for running migrations to different schemas in same database in parallel #3476

@hanurimies

Description

@hanurimies

Currently, a fixed name is used for the migration lock (advisory lock in PG). In applications using a single DB and separate schema for each microservice, this is causing problems when migrations are run. One microservice running a lengthy migration will block other microservices from checking and running their migrations.

It should be possible to run the migrations to different schemas in parallel.

The issue has been discussed also in this PR: #3475

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