Skip to content

fix(ubcli): Migration of multi-tenant environment with multiple UB servers

Andrii Bezuglyi requested to merge fix/cdn_lang_migration into master

The following problems fixed:

  • removing "sq (Albanian)" script always removed one row, even, if no duplicates or if more than one duplicate - new version removes all excessive rows, not just the one with MAX ID
  • on tenant environments it fails to remove duplicates because it just not designed for tenants, new version has a branch for tenants, which takes care about deletion on all tenants
  • ubcli migrate on tenant environment (prod) with >1 UB instances, which utilize "virtual hosts" to communicate each with other, fail to update model versions

New version of migration script is tolerant for multiple runs, so it just moved to the new version folder.

Edited by Andrii Bezuglyi

Merge request reports

Loading