dcloud rds replication set

Make a cluster synchronous or asynchronous (live, no restart), and/or turn logical replication on or off (with a restart)

IAM rds:ModifyDBInstanceChanges stateAsks before it deletes (-y skips)

Synchronous is not strict: with no standby streaming, the leader keeps accepting writes and the health check reports sync-degraded until one is back. logicalReplication sets wal_level = logical; a cluster restarts member by member with one switchover, a single node restarts once (writes pause for the restart). Turning it off is refused while any logical slot exists.

Synopsis

dcloud rds replication set id [flags]

Arguments

  • <id>Required

    string

    Also accepted as --id. Constraints: 3-64 chars, /^(?!ewdoc-)[a-z0-9-]+$/

Flags

  • --replication-modeOptional

    enum

    Cluster only, applied live. sync: a commit waits for one standby, so a failover loses nothing acknowledged; async: it does not wait. Omitted: unchanged

    One of: async, sync

  • --logical-replicationOptional

    boolean (--logical-replication / --no-logical-replication)

    wal_level = logical for CDC and publications, applied with a restart; omitted: unchanged

Example

dcloud rds replication set id

Generated from the API description, the same one the API checks requests against and the CLI is built from.