remove ru
Remove empty replication unit from a sharded database configuration.
Syntax
remove [ru|replication_unit] -ru ru_id
[-timeout timeout]
Options
Table 2-80 GDSCTL remove ru Options
| Option | Description |
|---|---|
-ru |
Replication unit ID |
-timeout |
GSM (shard director) requests timeout (in seconds). |
Usage Notes
Replication unit must be empty prior to its remove. Use RELOCATE
CHUNK command to move chunks between replication units.
Examples
GDSCTL> remove ru -ru 1