Cadence is a distributed, scalable, durable, and highly available orchestration engine to execute asynchronous long-running business logic in a scalable and resilient way.
Current recommendation for using Cadence docker is to not enable automatic schema upgrade. Schema upgrades are always applied out of band to underlying database before rolling out Cadence upgrade to the cluster.
This issue is to allow schema upgrades to cluster as part of regular Cadence upgrade automatically. All schemas are versioned and schema upgrade could be applied to database when service comes up. We do need to address race condition to make sure schema upgrades are safe if performed from multiple hosts.
Current recommendation for using Cadence docker is to not enable automatic schema upgrade. Schema upgrades are always applied out of band to underlying database before rolling out Cadence upgrade to the cluster. This issue is to allow schema upgrades to cluster as part of regular Cadence upgrade automatically. All schemas are versioned and schema upgrade could be applied to database when service comes up. We do need to address race condition to make sure schema upgrades are safe if performed from multiple hosts.