Execution fails with liquibase-cassandra 4.11.0
cchangenot opened this issue · 3 comments
Using the 4.11.0 version of the extension, liquibase fails executing with an empty cassandra DB (or more precisely for the first ever liquibase execution). It works as expected with the 4.9.1 version.
Liquibase is indefinitely "Waiting for changelog lock...." until it times out with :
"Could not acquire change log lock. Currently locked by UNKNOWN"
It seems be working fine when the DATABASECHANGELOGLOCK table is already initialized.
Here are the parameters I use to reproduce this problem, using an "empty" db.changelog-master.xml
:
--url='jdbc:cassandra://localhost:9042;DefaultKeyspace=example' --headless=true --classpath=/liquibase/changelog:/liquibase/classpath --driver=com.simba.cassandra.jdbc42.Driver --changelog-file=db.changelog-master.xml update
I think #142 fixes the problem.
Could some try the build from https://github.com/liquibase/liquibase-cassandra/actions/runs/2431143169 and let me know if it solves it for you?
It works perfectly, thanks a lot @nvoxland
Thanks for checking, @cchangenot . We'll get an update with that PR released today.