Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CockroachDB history table locking #2810

Closed
juliahayward opened this issue May 6, 2020 · 1 comment
Closed

CockroachDB history table locking #2810

juliahayward opened this issue May 6, 2020 · 1 comment
Assignees
Milestone

Comments

@juliahayward
Copy link
Member

juliahayward commented May 6, 2020

(Creating an issue post-hoc)

Add an artificial row to the Flyway schema history to act as a lock; this is required as some CockroachDB users apply migrations to multiple nodes in a cluster and this can result in Flyway instances falling over each other. We also introduce lock-depth counting which can be useful for other databases where Flyway can take the same lock multiple times without error, but where releasing it needs only to happen once.

@juliahayward juliahayward added this to the Flyway 6.4.2 milestone May 6, 2020
@juliahayward
Copy link
Member Author

juliahayward commented May 6, 2020

Implemented in 6.4.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants