Skip to content

tt CLI (2.6): tt replicaset upgrade on remote replica sets #4661

@TarantoolBot

Description

@TarantoolBot

Product: tt cli
Since: tt 2.6.0
Audience/target: all
Root document: https://www.tarantool.io/en/doc/latest/reference/tooling/tt_cli/replicaset/
SME: @ mandesero @ oleg-jukovec

Details

To be done together with #4641

tt replicaset upgrade now allows upgrade database schema on remote
replica sets within a Tarantool cluster. The feature enables to perform
upgrades by targeting specific instances of each replica set.

Usage Example:

Cluster configuration:

• router-001
    • router-001-a localhost:3305 rw
• storage-001
    • storage-001-a localhost:3301 rw
    • storage-001-b localhost:3302 read
• storage-002
    • storage-002-a localhost:3303 rw
    • storage-002-b localhost:3304 read

To update the schema across this cluster:

  1. Update each replica set individually.
  2. Select one instance from each replica set to run the command.

Commands:

$ tt replicaset upgrade tcp://client:secret@127.0.0.1:3301
  • storage-001: ok
$ tt replicaset upgrade tcp://client:secret@127.0.0.1:3304
  • storage-002: ok
$ tt replicaset upgrade tcp://client:secret@127.0.0.1:3305
  • router-001: ok

Requested by @mandesero in tarantool/tt@6a9c221.

Metadata

Metadata

Assignees

No one assigned

    Labels

    tt cliupgradeFunctionality related to upgrade/downgrade

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions