MEDIARITHMICS / liquibase-clickhouse

Apache License 2.0
43 stars 39 forks source link

Make liquibase tables cluster replicated #13

Closed igorepim closed 2 years ago

igorepim commented 3 years ago

Liquibase uses tables DATABASECHANGELOG and DATABASECHANGELOGLOCK to store the current state (locked/unlocked) and the list of applied migrations. For the case when we want to apply migrations on all nodes of our cluster, liquibase should also replicate its data on each node of the cluster. It permit us to execute our migration scripts on any node and to avoid duplicate executions.