question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Quarkus 2.13.0: flyway migration fails to complete

See original GitHub issue

Describe the bug

Hi guys! I believe something is wrong with Flyway in a new Quarkus 2.13.0 In our project, there is a migration where two indices are created in the same script. This migration was working fine up until the Quarkus version is bumped from 2.11.3 to 2.13.0 After that, the migration just fails to complete and tests never end. Tests actually never start; migration somehow just hangs… I attached the reproducer, please look at V2__add_user_indices.sql file. If you change Quarkus version in a reproducer, tests start working.

Expected behavior

Migration V2__add_user_indices successfully completes in 2.13.0 as in 2.11.3 -> test successfully completes.

Actual behavior

Test never ends in 2.13.0 version.

How to Reproduce?

flyway-fail.zip

  1. Run the only test on 2.13.0 version
  2. Run the only test on 2.11.3 version
  3. Notice that it hangs on certain migration file V2__add_user_indices.sql

Output of uname -a or ver

No response

Output of java -version

No response

GraalVM version (if different from Java)

No response

Quarkus version or git rev

2.13.0

Build tool (ie. output of mvnw --version or gradlew --version)

Gradle with Kotlin

Additional information

No response

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:10 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
gsmetcommented, Oct 3, 2022

Yeah, it should be supported. Not sure what they did that could have broken it.

I will close this issue. If you can’t reproduce it with Flyway alone, feel free to reopen. But I really think that’s a Flyway issue.

1reaction
gsmetcommented, Sep 30, 2022

OK, we will have a closer look then. Thanks for the reproducer.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Using Flyway - Quarkus
Flyway is a popular database migration tool that is commonly used in JVM ... to the src/main/resources/db/migration folder as you usually do with...
Read more >
Quarkus compilation native fails with flyway - Stack Overflow
I'm pretty sure that the sql migration files are included with the compilation with the parameter "quarkus.native.resources.includes=db/ ...
Read more >
chore(deps): update dependency io.quarkus:quarkus ... - GitLab
An error occurred while retrieving approval data for this merge request. chore(deps): update dependency io.quarkus:quarkus ...
Read more >
How to use Flyway DB migration tool SQL Script | QUARKUS
Quarkus | Complete Quarkus Tutorial | Cloud Native Java Framework. How to use Flyway DB migration tool SQL Script | Quarkus Tutorial ...
Read more >
quarkusio/quarkus 2.5.2.Final on GitHub - NewReleases.io
New release quarkusio/quarkus version 2.5.2. ... latest releases: 2.13.0. ... #21873 - OidcClient has failed to complete the refresh_token grant request: ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found