migrations
migrations copied to clipboard
If clusterwide config has not applied yet after cluster start migration will fail. This is a common scenario in tests. See ``` code: 32 message: AtomicCallError: cartridge.patch_clusterwide is already running...
Steps to reproduce: 1. Apply migration to new or existing Tarantool Cartridge project. 2. Migration fails (see error descripton below) Tarantool rockspec: ``` package = 'app' version = 'scm-1' source...
Since ddl 1.6.0 and crud 0.11.0+ needs _ddl_sharding_func space need to add analogue of utils.register_sharding_key(): utils.register_sharding_func() https://github.com/tarantool/migrations/blob/d597604cb2658350787c09f4855141d7da29c18f/migrator/utils.lua#L28
# Description of the risk Sometimes, for various reasons, the operations team upgrades only part of the cluster. In our practice, a cluster usually consists of two parts. But in...
Now all migrations will execute on each node of the cluster. I want to insert some initial data to some sharded space in a cluster (constants, configs etc). For example...
This is big, so we should first see if there's real demand. The idea is the following: * a list of migrations to apply (and, probably, their code and a...