Quarkus 2.13.0: flyway migration fails to complete
See original GitHub issueDescribe 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?
- Run the only test on 2.13.0 version
- Run the only test on 2.11.3 version
- 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:
- Created a year ago
- Comments:10 (6 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
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.
OK, we will have a closer look then. Thanks for the reproducer.