From 5ada399581388a2e191e4a5d1375714e5ef899c8 Mon Sep 17 00:00:00 2001 From: Josh Black Date: Fri, 21 Apr 2023 15:21:28 -0700 Subject: [PATCH] update website docs for new update-primary mode (#20302) --- .../content/api-docs/system/replication/replication-dr.mdx | 7 +++++++ .../system/replication/replication-performance.mdx | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/website/content/api-docs/system/replication/replication-dr.mdx b/website/content/api-docs/system/replication/replication-dr.mdx index ba9e299c7289..cec7de758e36 100644 --- a/website/content/api-docs/system/replication/replication-dr.mdx +++ b/website/content/api-docs/system/replication/replication-dr.mdx @@ -470,6 +470,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 diff --git a/website/content/api-docs/system/replication/replication-performance.mdx b/website/content/api-docs/system/replication/replication-performance.mdx index 564f87c0c147..18e6b6761795 100644 --- a/website/content/api-docs/system/replication/replication-performance.mdx +++ b/website/content/api-docs/system/replication/replication-performance.mdx @@ -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