Skip to content

Disables locking logic Liquibase uses to ensure only one instance is running against a database at one time. Not recommended in general but helpful at times

Notifications You must be signed in to change notification settings

liquibase/liquibase-nochangeloglock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Liquibase Extension: No ChangeLog Lock Logic

This extension suppresses all calls to update the DatabaseChangeLogLock table as changeSets are ran. That means no:

  • Creation of the databasechangeloglock table
  • "update databasechangeloglock set locked=1" calls on run

Generally you want to have the databasechangeloglock logic. But especially in scenarios like cloud-managed infrastructure like kubernetes where there is already infrastructure ensuring only one Liquibase process is running at a time, it can be unneeded.

You can disable the use of databasechangelog lock by setting the Liquibase configuration liquibase.databaseChangelogLockEnabled to "false" (the default when this plugin is installed) via CLI arguments, defaultsFile file, etc.

NOTE: For backwards compatibility, it also checks the liquibase.ext.nochangeloglock.enabled Java system property, where "true" means "disable databasechangelog lock".

To use the extension, add the liquibase-nochangeloglock.jar file to your LIQUIBASE_HOME/lib directory, or your applications's classpath.

Download the liquibase-nochangeloglock.jar file from:

About

Disables locking logic Liquibase uses to ensure only one instance is running against a database at one time. Not recommended in general but helpful at times

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages