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.
Binary
Section titled “Binary”curl -fsSL https://get.twincommit.io | sh -s -- --version 1.4.0sudo systemctl restart twincommit@prod-db2Kubernetes
Section titled “Kubernetes”helm repo updatehelm upgrade prod-db2 twincommit/twincommit --reuse-values --set image.tag=1.4.0With leader election enabled, the standby is upgraded first, then leadership moves to it, so the pause is about one lease interval.
Compatibility
Section titled “Compatibility”| 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. |