Does anyone has experience with maximum execution time of Flyway migrations
I have been unable to find any related information in docs or any articles.
Flyway itself currently does not set a timeout or maximum execution time. The timeout is managed by the target database and the settings on your connection to it.
There is a github issue thread here on this topic if you would like a timeout to be added and would like to share your scenario with the flyway team.
What happens when you hit a timeout (or if there is a network or other failure which causes the query to disconnect) will vary depending on how you are using transactions and whether your target database supports DDL statements within a transaction.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With