Skip to content

Upgrades

Upgrading TwinCommit is a restart: stop the old version, start the new one, and it resumes from the checkpoint. Checkpoint and table-state formats are backward-compatible within a major version.

Terminal window
curl -fsSL https://get.twincommit.io | sh -s -- --version 1.4.0
sudo systemctl restart twincommit@prod-db2
Terminal window
helm repo update
helm upgrade prod-db2 twincommit/twincommit --reuse-values --set image.tag=1.4.0

With leader election enabled, the standby is upgraded first, then leadership moves to it, so the pause is about one lease interval.

From To Notes
1.x 1.y (y > x) Restart only. State tables are migrated automatically on first start.
1.x 1.y (y < x) Downgrade only to a version that supports the current state schema version; twincommit status prints it.