move ru

Move a member replica of a replication unit from one shard to another.

Syntax

[ru|replication_unit] -ru ru_id -source source_db 
         -target target_db
         [-force]
         

Options

Table 2-67 GDSCTL move ru Options

Option Description
-force

Allow operation to bypass RAFT replication role checks.

-ru

Replication unit ID

-source

Name of the source shard.

-target

Name of the target shard.

-timeout

Timeout of connection retention between FAN is sent to clients and chunk going read-only/down (seconds).

Examples

MOVE RU -RU 1 -SOURCE sh1 -TARGET sh2