Skip to content

DB migration#648

Open
vnandwana wants to merge 2 commits intokillbill:v3from
vnandwana:flyway-troubleshoot-guide
Open

DB migration#648
vnandwana wants to merge 2 commits intokillbill:v3from
vnandwana:flyway-troubleshoot-guide

Conversation

@vnandwana
Copy link
Contributor

Ticket -- https://github.com/killbill/killbill-aviate-plugin/issues/319

Documented all scenarios mentioned in the above ticket.

* Covered fresh install and Flyway adoption scenarios.
…, schema drift, baseline too low or too high, and concurrent startup.
* Duplicate migrations are skipped.


=== Scenario 7 — Concurrent Startup (Multiple Aviate Nodes Running Migrations)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Spent some time testing this but couldn’t reproduce migration conflicts. Noticed that installing the Aviate plugin on one node automatically reflected on the other nodes and started successfully across all nodes.

Let me know if I need to spend more time on this (introduce startup delays, etc.) or this is sufficient for now.

Copy link
Member

@sbrossie sbrossie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good job documenting everything.

However, for the sections where users need to access schema, we do not want them to extract the resources from the jar file - we should never prompt them to do so. Instead, those files can be accessed:
http://docs.killbill.io/latest/aviate-mysql-ddl.sql
http://docs.killbill.io/latest/aviate-postrgesl-ddl.sql

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants