Skip to content

Releases: tarantool/migrations

1.2.0: helper functions for sharding

Choose a tag to compare

@ita-sammann ita-sammann released this 02 Jul 14:04

Added

  • drop_sharding_key() helper to clean _ddl_sharding_key up after dropping a space.
  • (register|drop)_sharding_func() helpers.
  • Highlight in README that calling register_sharding_key() is necessary when creating a sharded space.

1.1.0

Choose a tag to compare

@p0rtale p0rtale released this 18 Jul 09:55

Added

  • A check for user modifications to applied migrations.

1.0.2: rolling upgrade fix

Choose a tag to compare

@DifferentialOrange DifferentialOrange released this 31 May 14:02

Overview

This release fixes module work for rolling upgrade over existing cluster without state space (migrations 0.x or clean cluster).

Fixed

  • State space bootstrap on cluster rolling upgrade (gh-77)

1.0.1: license introduction

Choose a tag to compare

@DifferentialOrange DifferentialOrange released this 03 May 08:21

Overview

This release adds license to the module.

Added

  • BSD License.

1.0.0: per-replicaset state

Choose a tag to compare

@DifferentialOrange DifferentialOrange released this 29 Mar 11:17

Overview

This release introduces new approach to storing migration state: per-replicaset instead of clusterwide. New approach fixes the issue when new replicaset did not applied the migrations that are already applied on the remaining part of cluster.

To start using 1.0.0 instead of 0.x.x module on existing application, one must first call move_migrations_state through HTTP or Lua API to move current cluster migration state from Cartridge clusterwide configuration to per-replicaset utility spaces. See README.md for upgrade and downgrade scenarios.

Fixed

  • Migrations do not apply to newly added replica sets in the cluster (gh-65). Applied migration names are moved from the cluster-wide configuration to the space on each node.

Added

  • An API for moving existing migration names from the cluster configuration to a space.
  • API for getting applied migrations list for the cluster.

0.7.0: check enabled roles

Choose a tag to compare

@DifferentialOrange DifferentialOrange released this 30 Jan 15:03

Overview

This release introduces new helper to check whether roles are enabled on the Cartridge instance

New features

  • utils.check_roles_enabled helper function to check whether roles are enabled on the instance (#68).

Thanks

We want to thank @Satbek for a feature contribution.

0.6.0

Choose a tag to compare

@DifferentialOrange DifferentialOrange released this 14 Sep 14:50

Overview

This release introduces new API to configure timeout for storage migrations.

New features

  • Configurable timeout for storage migrations (#66).

Infrastructure

  • Fix running tests with Tarantool 2.11+ (PR #67).
  • Fix running tests with tarantool/http 1.2.0+ (#63).

0.5.0

Choose a tag to compare

@DifferentialOrange DifferentialOrange released this 22 Mar 07:30
4cd7ec2

Overview

This release introduces new API to check module version in code.

New features

  • Add versioning support (PR #62).

0.4.2

Choose a tag to compare

@Totktonada Totktonada released this 18 Feb 16:34

Fixed

  • Fetch schema from a replicaset leader to apply on the clusterwide config even when migrations.up() is called on a replica (gh-56). The local schema on the replica may be not the most actual due to replication lag.
  • Issue a warning into log when register_sharding_key() is called with {'bucket_id'} key (gh-49). It is likely a mistake: sharding key is a set of fields, which are used to calculate bucket_id, not the bucket_id itself.

0.4.1

Choose a tag to compare

@sharonovd sharonovd released this 12 Jul 11:12

Fixed:

  • Unclear error output in some cases