From 5f992d7661fc8cfecec4d6002cfdc6ed71bf2425 Mon Sep 17 00:00:00 2001 From: smaher-edb Date: Wed, 25 Oct 2023 18:44:54 +0530 Subject: [PATCH 01/38] Remove pre-upgrade step which alters the conn limit to 0 at db level Ref: BDR-4159 --- product_docs/docs/pgd/4/upgrades/bdr_pg_upgrade.mdx | 1 - product_docs/docs/pgd/5/upgrades/bdr_pg_upgrade.mdx | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/product_docs/docs/pgd/4/upgrades/bdr_pg_upgrade.mdx b/product_docs/docs/pgd/4/upgrades/bdr_pg_upgrade.mdx index b75915c667f..bb641554852 100644 --- a/product_docs/docs/pgd/4/upgrades/bdr_pg_upgrade.mdx +++ b/product_docs/docs/pgd/4/upgrades/bdr_pg_upgrade.mdx @@ -128,7 +128,6 @@ Steps performed when running `bdr_pg_upgrade`. | Checking if bdr schema exists | `skip` | | Turning DDL replication off | `skip` | | Terminating connections to database. | `skip` | -| Disabling connections to database | `skip` | | Waiting for all slots to be flushed | `skip` | | Disconnecting from old cluster | `skip` | | Stopping old cluster | `skip` | diff --git a/product_docs/docs/pgd/5/upgrades/bdr_pg_upgrade.mdx b/product_docs/docs/pgd/5/upgrades/bdr_pg_upgrade.mdx index 7f87b9d5c04..e71d01813eb 100644 --- a/product_docs/docs/pgd/5/upgrades/bdr_pg_upgrade.mdx +++ b/product_docs/docs/pgd/5/upgrades/bdr_pg_upgrade.mdx @@ -49,7 +49,7 @@ To upgrade to a newer major version of Postgres, you must first install the new ### bdr_pg_upgrade command-line bdr_pg_upgrade passes all parameters to pg_upgrade. Therefore, you can -specify any parameters supported by [pg_upgrade](https://www.postgresql.org/docs/current/pgupgrade.html#id-1.9.5.12.6). +specify any parameters supported by [pg_upgrade](https://www.postgresql.org/docs/current/pgupgrade.html#id-1.9.5.12.6). #### Synopsis @@ -149,7 +149,6 @@ These steps are performed when running bdr_pg_upgrade. | Checking if bdr schema exists | `skip` | | Turning DDL replication off | `skip` | | Terminating connections to database. | `skip` | -| Disabling connections to database | `skip` | | Waiting for all slots to be flushed | `skip` | | Disconnecting from old cluster | `skip` | | Stopping old cluster | `skip` | From d1190e352406f667c8fd4e82c68f9ac047ad491a Mon Sep 17 00:00:00 2001 From: smaher-edb Date: Wed, 1 Nov 2023 18:04:52 +0530 Subject: [PATCH 02/38] Add the version supported for 3.7 --- product_docs/docs/pgd/4/upgrades/bdr_pg_upgrade.mdx | 2 +- product_docs/docs/pgd/5/upgrades/bdr_pg_upgrade.mdx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/product_docs/docs/pgd/4/upgrades/bdr_pg_upgrade.mdx b/product_docs/docs/pgd/4/upgrades/bdr_pg_upgrade.mdx index bb641554852..94764e068d2 100644 --- a/product_docs/docs/pgd/4/upgrades/bdr_pg_upgrade.mdx +++ b/product_docs/docs/pgd/4/upgrades/bdr_pg_upgrade.mdx @@ -33,7 +33,7 @@ There are several prerequisites for `bdr_pg_upgrade` that have to be met: - Peer authentication is configured for both clusters, `bdr_pg_upgrade` requires peer authentication - BDR versions on both clusters must be exactly the same and must be version - 4.1.0 or above + 4.1.0 or above. For v3.7, version 3.7.22 and above are also supported. - The new cluster must be in a shutdown state - BDR packages must be installed in the new cluster - The new cluster must be already initialized and configured as needed to diff --git a/product_docs/docs/pgd/5/upgrades/bdr_pg_upgrade.mdx b/product_docs/docs/pgd/5/upgrades/bdr_pg_upgrade.mdx index e71d01813eb..e48e49511a0 100644 --- a/product_docs/docs/pgd/5/upgrades/bdr_pg_upgrade.mdx +++ b/product_docs/docs/pgd/5/upgrades/bdr_pg_upgrade.mdx @@ -32,7 +32,7 @@ You must meet several prerequisites for bdr_pg_upgrade: - Configure peer authentication for both clusters. bdr_pg_upgrade requires peer authentication. - PGD versions on both clusters must be exactly the same and must be version - 4.1.0 or later. + 4.1.0 or later. For v3.7, version 3.7.22 and above are also supported. - The new cluster must be in a shutdown state. - You must install PGD packages in the new cluster. - The new cluster must be already initialized and configured as needed to From e4a573609229e05a33c6a5a80a16cc1c560ee57d Mon Sep 17 00:00:00 2001 From: smaher-edb Date: Wed, 1 Nov 2023 19:57:45 +0530 Subject: [PATCH 03/38] Fix the review comments --- product_docs/docs/pgd/4/upgrades/bdr_pg_upgrade.mdx | 4 ++-- product_docs/docs/pgd/5/upgrades/bdr_pg_upgrade.mdx | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/product_docs/docs/pgd/4/upgrades/bdr_pg_upgrade.mdx b/product_docs/docs/pgd/4/upgrades/bdr_pg_upgrade.mdx index 94764e068d2..c28e470c301 100644 --- a/product_docs/docs/pgd/4/upgrades/bdr_pg_upgrade.mdx +++ b/product_docs/docs/pgd/4/upgrades/bdr_pg_upgrade.mdx @@ -32,8 +32,8 @@ There are several prerequisites for `bdr_pg_upgrade` that have to be met: be redirected to another node in the cluster - Peer authentication is configured for both clusters, `bdr_pg_upgrade` requires peer authentication -- BDR versions on both clusters must be exactly the same and must be version - 4.1.0 or above. For v3.7, version 3.7.22 and above are also supported. +- The same BDR version must be installed on both clusters. +- The BDR version must be 4.1.0 or above. Version 3.7.22 and later is also supported. - The new cluster must be in a shutdown state - BDR packages must be installed in the new cluster - The new cluster must be already initialized and configured as needed to diff --git a/product_docs/docs/pgd/5/upgrades/bdr_pg_upgrade.mdx b/product_docs/docs/pgd/5/upgrades/bdr_pg_upgrade.mdx index e48e49511a0..e4256819007 100644 --- a/product_docs/docs/pgd/5/upgrades/bdr_pg_upgrade.mdx +++ b/product_docs/docs/pgd/5/upgrades/bdr_pg_upgrade.mdx @@ -31,8 +31,8 @@ You must meet several prerequisites for bdr_pg_upgrade: redirect them to another node in the cluster. - Configure peer authentication for both clusters. bdr_pg_upgrade requires peer authentication. -- PGD versions on both clusters must be exactly the same and must be version - 4.1.0 or later. For v3.7, version 3.7.22 and above are also supported. +- The same BDR version must be installed on both clusters. +- The BDR version must be 4.1.0 or above. Version 3.7.22 and later is also supported. - The new cluster must be in a shutdown state. - You must install PGD packages in the new cluster. - The new cluster must be already initialized and configured as needed to From 28e6e0b0d03b4ecac876e43f1c7f540644189719 Mon Sep 17 00:00:00 2001 From: smaher-edb Date: Wed, 1 Nov 2023 20:05:32 +0530 Subject: [PATCH 04/38] change BDR to PGD only in v5 doc --- product_docs/docs/pgd/5/upgrades/bdr_pg_upgrade.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/product_docs/docs/pgd/5/upgrades/bdr_pg_upgrade.mdx b/product_docs/docs/pgd/5/upgrades/bdr_pg_upgrade.mdx index e4256819007..c9fff321723 100644 --- a/product_docs/docs/pgd/5/upgrades/bdr_pg_upgrade.mdx +++ b/product_docs/docs/pgd/5/upgrades/bdr_pg_upgrade.mdx @@ -31,8 +31,8 @@ You must meet several prerequisites for bdr_pg_upgrade: redirect them to another node in the cluster. - Configure peer authentication for both clusters. bdr_pg_upgrade requires peer authentication. -- The same BDR version must be installed on both clusters. -- The BDR version must be 4.1.0 or above. Version 3.7.22 and later is also supported. +- The same PGD version must be installed on both clusters. +- The PGD version must be 4.1.0 or above. Version 3.7.22 and later is also supported. - The new cluster must be in a shutdown state. - You must install PGD packages in the new cluster. - The new cluster must be already initialized and configured as needed to From b81dc27ad8c1acf9f09a16aae728e98bc053b024 Mon Sep 17 00:00:00 2001 From: Dj Walker-Morgan Date: Wed, 8 Nov 2023 10:44:24 +0000 Subject: [PATCH 05/38] Simplified compatibility chart Signed-off-by: Dj Walker-Morgan --- product_docs/docs/pgd/5/index.mdx | 30 +++++++++++++++++++++++++----- 1 file changed, 25 insertions(+), 5 deletions(-) diff --git a/product_docs/docs/pgd/5/index.mdx b/product_docs/docs/pgd/5/index.mdx index da57bf12902..8d198e2b3b2 100644 --- a/product_docs/docs/pgd/5/index.mdx +++ b/product_docs/docs/pgd/5/index.mdx @@ -53,14 +53,34 @@ the peer nodes only after the local commit. You can configure additional levels [Group Commit](durability/group-commit), [CAMO](durability/camo), or [Eager](consistency/eager) Replication. +## Compatibility + +EDB Postgres Distributed 5 is compatible with + + Package | Versions +-------- | ------------ +Community PostgreSQL | 12-16 +EDB Postgres Extended Server | 12-16 +EDB Postgres Advanced Server | 12-16 + +!!! Note Postgres 16 support +Postgres 16 support is only available in EDB Postgres Distributed 5.3 and later +!!! + +See the [compatibility matrix](/pgd/4/#compatibility-matrix) for previous Versions + + From d10241e905b6e524af1cb762eaa3c336b3aafa2a Mon Sep 17 00:00:00 2001 From: Dj Walker-Morgan Date: Wed, 8 Nov 2023 10:45:08 +0000 Subject: [PATCH 06/38] Fix typo Signed-off-by: Dj Walker-Morgan --- product_docs/docs/pgd/5/index.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/product_docs/docs/pgd/5/index.mdx b/product_docs/docs/pgd/5/index.mdx index 8d198e2b3b2..bf4c894d88f 100644 --- a/product_docs/docs/pgd/5/index.mdx +++ b/product_docs/docs/pgd/5/index.mdx @@ -67,7 +67,7 @@ EDB Postgres Advanced Server | 12-16 Postgres 16 support is only available in EDB Postgres Distributed 5.3 and later !!! -See the [compatibility matrix](/pgd/4/#compatibility-matrix) for previous Versions +See the [compatibility matrix](/pgd/4/#compatibility-matrix) for previous versions