Hi! Trying to set up an application with Liquibase to support a senario where a master DB node is failing but a read-only slave node is still available. I was expecting the application (Spring Boot) to be able to start even when it has a read-only database connection. But it seems the lock is acquired whether or not any changes needs to be applied preventing the application from starting up. The lock is acquired even before posts in the DATABASECHANGELOG table are fetched and compared to the change sets.
Is there any way to make Liquibase only acquire the lock if it detects there is some new change set to apply?