Skip to content

Commit

Permalink
backport of commit 5ada399 (#20429)
Browse files Browse the repository at this point in the history
Co-authored-by: Josh Black <raskchanky@users.noreply.github.com>
  • Loading branch information
1 parent dda0484 commit 268655c
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -471,6 +471,13 @@ docs](#generate-disaster-recovery-operation-token) for more information.
PEM-format files that the secondary can use when unwrapping the token from the
primary. If this and ca_file are not given, defaults to system CA roots.

- `update_primary_addrs` `array: []` – List of cluster addresses for potential
primary clusters. These addresses will be pinged in sequence, and if any of them
respond successfully, these will be recorded as the new primary addresses. This is
a lighter weight version of specifying a token and should result in less disruption
of replication. Note that it's invalid to specify this and `token` in the same API call.
They are mutually exclusive.

### Sample Payload

```json
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -562,6 +562,13 @@ secondary activation token. This does not wipe all data in the cluster.
PEM-format files that the secondary can use when unwrapping the token from the
primary. If this and ca_file are not given, defaults to system CA roots.

- `update_primary_addrs` `array: []` – List of cluster addresses for potential
primary clusters. These addresses will be pinged in sequence, and if any of them
respond successfully, these will be recorded as the new primary addresses. This is
a lighter weight version of specifying a token and should result in less disruption
of replication. Note that it's invalid to specify this and `token` in the same API call.
They are mutually exclusive.

### Sample Payload

```json
Expand Down

0 comments on commit 268655c

Please sign in to comment.