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

Flyway conflict migrating Data-Index (Postgresql) #1802

Open
pefernan opened this issue Feb 4, 2025 · 0 comments · May be fixed by apache/incubator-kie-kogito-apps#2186
Open

Flyway conflict migrating Data-Index (Postgresql) #1802

pefernan opened this issue Feb 4, 2025 · 0 comments · May be fixed by apache/incubator-kie-kogito-apps#2186
Assignees
Labels
area:engine Related to the runtime engines type:bug Something is behaving unexpectedly

Comments

@pefernan
Copy link

pefernan commented Feb 4, 2025

A recent update in the persistence-commons-postgresql Flyway sql migration scripts introduced a possible issue when migrating from an old installation of Data Index to a newer version. The problem lies on data-index-storage-postgresql depending on persitence-commons-postgresql to index Domain objects. Both modules rely in Flyway to initialize their DB and they use different versioning strategy in the Flyway migrations having persitence-commons-postgresql using a lower version number in the Flyway scripts (1.5) than data-index-storage-postgresql (1.45).

Recently a PR introduced a new .sql in persistence-commons using the module versioning number which introduced a conflict in Flyway while validating the intalled migrations.

Zulip chat: https://kie.zulipchat.com/#narrow/channel/382044-kogito-dev/topic/Data.20Index.20database.20broken/near/497424089

apache/incubator-kie-kogito-apps#2139

@pefernan pefernan self-assigned this Feb 4, 2025
@pefernan pefernan added type:bug Something is behaving unexpectedly area:engine Related to the runtime engines labels Feb 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:engine Related to the runtime engines type:bug Something is behaving unexpectedly
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant