admin cluster bridge rejoin

Feature of Yandex Enterprise Database

This functionality is available only in the Yandex Enterprise Database. In the open-source version of YDB it is absent.

Use the admin cluster bridge rejoin command to return the specified pile to the cluster after maintenance or recovery. After the command runs, the pile is expected to transition from DISCONNECTED to NOT_SYNCHRONIZED, then sync automatically and transition to SYNCHRONIZED.

Alert

Commands in this section can harm your cluster if used incorrectly. Due to the potentially dangerous nature of these commands, ALL global parameters must be specified explicitly. Profiles are disabled by default and are only used when explicitly specified (--profile <profile-name>). Some commands do not require global options that are otherwise mandatory.

General command syntax:

ydb [global options...] admin cluster bridge rejoin [options...]

View command help:

ydb admin cluster bridge rejoin --help

Subcommand parameters

Name

Description

--pile <pile>

Name of the pile to return to the cluster.

Requirements

  • The pile must be in the DISCONNECTED state before it can be returned.

Examples

Return pile pile-a from DISCONNECTED state:

ydb admin cluster bridge rejoin --pile pile-a

Verifying the result

Right after the command runs, the pile is expected to transition to NOT_SYNCHRONIZED. Verify with the list command:

ydb admin cluster bridge list

pile-a: NOT_SYNCHRONIZED
pile-b: PRIMARY

After synchronization completes, the pile transitions to SYNCHRONIZED:

ydb admin cluster bridge list

pile-a: SYNCHRONIZED
pile-b: PRIMARY