Skip to content

Commit

Permalink
Merge pull request #5629 from EnterpriseDB/release-2024-05-16a
Browse files Browse the repository at this point in the history
Release 2024-05-16a
  • Loading branch information
djw-m committed May 16, 2024
2 parents 386d68f + 432a637 commit 657d5c0
Show file tree
Hide file tree
Showing 70 changed files with 926 additions and 461 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ The following options aren't available when creating your cluster:

1. Select the type of cluster to deploy.

- [Distributed High Availability](../../overview/02_high_availability/distributed_highavailability/) creates a cluster, powered by EDB Postgres Distributed, with up to two data groups spread across multiple cloud regions to deliver higher performance and faster recovery. See [Creating a distributed high-availability cluster](creating_an_eha_cluster) for instructions.<br/><br/>
- [Distributed High Availability](../../overview/02_high_availability/distributed_highavailability/) creates a cluster, powered by EDB Postgres Distributed, with up to two data groups spread across multiple cloud regions to deliver higher performance and faster recovery.<br/><br/>

If you want to create a single-node or primary/standby high-availability cluster, follow the [Single Node or Primary/Standby High Availability](.) page.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ the availability and recovery of the cluster.
Ensure you meet the following requirements before using fault injection testing:

+ You have connected your BigAnimal cloud account with your Azure subscription. See [Setting up your Azure Marketplace account](/biganimal/latest/getting_started/02_azure_market_setup/) for more information.
+ You should have permissions in your Azure subscription to view and delete VMs.
+ You have permissions in your Azure subscription to view and delete VMs and also the ability to view Kubernetes pods via Azure Kubernetes Service RBAC Reader.
+ You have PGD CLI installed. See [Installing PGD CLI](/pgd/latest/cli/installing_cli/#) for more information.
+ You have created a `pgd-cli-config.yml` file in your home directory. See [Configuring PGD CLI](/pgd/latest/cli/configuring_cli/) for more information.

Expand Down
2 changes: 1 addition & 1 deletion product_docs/docs/net_connector/7.0.6.2/index.mdx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: "EDB .NET Connector"
directoryDefaults:
description: "EDB .NET Connector version 7.0.6.1 documentation and release notes."
description: "EDB .NET Connector version 7.0.6.2 documentation and release notes."
---

The EDB .NET Connector distributed with EDB Postgres Advanced Server provides connectivity between a .NET client application and an EDB Postgres Advanced Server database server. You can:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Released: 15 May 2024

The EDB .NET Connector provides connectivity between a .NET client application and an EDB Postgres Advanced Server database server.

New features, enhancements, bug fixes, and other changes in the EDB .NET Connector `8.0` include:
New features, enhancements, bug fixes, and other changes in the EDB .NET Connector `8.0.2.1` include:

| Type | Description |
|-------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: "EDB .NET Connector"
directoryDefaults:
description: "EDB .NET Connector version 8.0 documentation and release notes."
description: "EDB .NET Connector version 8.0.2.1 documentation and release notes."
---

The EDB .NET Connector distributed with EDB Postgres Advanced Server provides connectivity between a .NET client application and an EDB Postgres Advanced Server database server. You can:
Expand Down
2 changes: 1 addition & 1 deletion product_docs/docs/pem/9/registering_agent.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ set PEM_SERVER_PASSWORD=edb
| `--group` | The name of the group in which the agent is displayed. |
| `--team` | The name of the database role on the PEM backend database server with access to the monitored database server. |
| `--owner` | The name of the database user on the PEM backend database server who owns the agent. |
| `--allow_server_restart` | Enable the `allow-server_restart` parameter to allow PEM to restart the monitored server. The default value is `True`. |
| `--allow_server_restart` | Enable the `allow_server_restart` parameter to allow PEM to restart the monitored server. The default value is `True`. |
| `--allow-batch-probes` | Enable the `allow-batch-probes` parameter to allow PEM to run batch probes on this agent. The default value is `False`. |
| `--batch-script-user` | The operating system user to use for executing the batch/shell scripts. The default value is none. The scripts don't execute if you leave this parameter blank or the specified user doesn't exist. |
| `--enable-heartbeat-connection` | Enable the `enable-heartbeat-connection` parameter to create a dedicated heartbeat connection between the PEM agent and server to update the active status. The default value is `False`. |
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
title: "Version 2.4.1"
---

Released: 16 May 2024

This is a patch release of HARP 2 that includes internal maintenance fixes.

| Type | Description |
| ---- |------------ |
| Change | Routine security library upgrades |

2 changes: 2 additions & 0 deletions product_docs/docs/pgd/3.7/harp/01_release_notes/index.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: Release Notes
navigation:
- harp2.4.1_rel_notes
- harp2.4.0_rel_notes
- harp2.3.2_rel_notes
- harp2.3.1_rel_notes
Expand All @@ -27,6 +28,7 @@ The release notes in this section provide information on what was new in each re

| Version | Release Date |
| ----------------------- | ------------ |
| [2.4.1](harp2.4.1_rel_notes) | 16 May 2024 |
| [2.4.0](harp2.4.0_rel_notes) | 05 Mar 2024 |
| [2.3.2](harp2.3.2_rel_notes) | 17 Oct 2023 |
| [2.3.1](harp2.3.1_rel_notes) | 27 Jul 2023 |
Expand Down
2 changes: 2 additions & 0 deletions product_docs/docs/pgd/4/rel_notes/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
title: "EDB Postgres Distributed Release notes"
navTitle: "Release notes"
navigation:
- pgd_4.3.5_rel_notes
- pgd_4.3.4_rel_notes
- pgd_4.3.3_rel_notes
- pgd_4.3.2+p1_rel_notes
Expand Down Expand Up @@ -29,6 +30,7 @@ The EDB Postgres Distributed documentation describes the latest version of EDB P

| Release Date | EDB Postgres Distributed | BDR | HARP | CLI | TPAexec |
|--------------|-------------------------------------|-------|-------|-------|--------------------------------------------------------------|
| 16 May 2024 | [4.3.5](pgd_4.3.5_rel_notes) | 4.3.4 | 2.4.1 | 1.1.2 | [23.32](/tpa/latest/rel_notes/tpa_23.32_rel_notes/) |
| 05 Mar 2024 | [4.3.4](pgd_4.3.4_rel_notes) | 4.3.4 | 2.4 | 1.1.2 | [23.29](/tpa/latest/rel_notes/tpa_23.29_rel_notes/) |
| 14 Nov 2023 | [4.3.3](pgd_4.3.3_rel_notes) | 4.3.3 | 2.3.2 | 1.1.2 | [23.24](/tpa/latest/rel_notes/tpa_23.24_rel_notes) |
| 17 Oct 2023 | [4.3.2+p1](pgd_4.3.2+p1_rel_notes) | 4.3.2 | 2.3.2 | 1.1.1 | [23.20](/tpa/latest/rel_notes/tpa_23.20_rel_notes) |
Expand Down
29 changes: 29 additions & 0 deletions product_docs/docs/pgd/4/rel_notes/pgd_4.3.5_rel_notes.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
---
title: "Release notes for EDB Postgres Distributed version 4.3.5"
navTitle: "Version 4.3.5"
redirects:
- /pgd/latest/bdr/release_notes/bdr4.3.5_rel_notes/
---

Released: 16 May 2024

EDB Postgres Distributed version 4.3.5 is a patch release of EDB Postgres Distributed 4, which includes bug fixes for issues identified in previous versions.

!!! Note
This version is required for EDB Postgres Advanced Server versions 12.15, 13.11, 14.10, 15.5, and later.
!!!

| Component | Version | Type | Description | Ticket |
|-----------|---------|-------------|----------------------------------------------------------------------------------------------------------------|----------------|
| BDR | 4.3.5 | Enhancement | BDR now logs the completion of an extension upgrade. | |
| BDR | 4.3.5 | Enhancement | Each autopartition task is now executed in its own transaction. | |
| BDR | 4.3.5 | Enhancement | DETACH CONCURRENTLY is now used to drop partitions. | RT101407/35476 |
| BDR | 4.3.5 | Enhancement | `bdr_superuser` is now granted use of `pg_file_settings` and `pg_show_all_file_settings()`. | |
| BDR | 4.3.5 | Enhancement | `bdr_init_physical` now stops the initial replication connection and starts it only when needed. | RT102828/35305 |
| BDR | 4.3.5 | Bug Fix | Improved handling of node group configuration parameter `check_constraints`. | RT99956/31896 |
| BDR | 4.3.5 | Bug Fix | Fixed an issue to prevent potential segfault in `bdr.monitor_group_versions()`. | RT102290/34051 |
| BDR | 4.3.5 | Bug Fix | BDR now uses `bdr.default_sequence_kind` when updating sequence kind of existing sequences upon node creation. | |
| BDR | 4.3.5 | Bug Fix | Manage rights elevation for trusted extensions | |
| HARP | 2.4.1 | Change | Routine security library upgrades. | |


6 changes: 3 additions & 3 deletions product_docs/docs/pgd/5/cli/command_ref/index.mdx
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
---
title: Command reference
redirects:
- /pgd/latest/cli/command_ref/pgd_show-camo/
navTitle: Command reference
description: A reference guide to the commands available in the PGD CLI.
---

pgd is the command name for the PGD command line interface.
The command name for the PGD command line interface is `pgd`.

## Synopsis

Expand Down
19 changes: 16 additions & 3 deletions product_docs/docs/pgd/5/cli/command_ref/pgd_create-proxy.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ Creates proxy in the EDB Postgres Distributed cluster and attaches it to the
given group. The proxy name must be unique across the cluster and match with
the name given in the corresponding proxy config file.

Use the proxy mode to route connections to Write Leader (default), Read Nodes
(read-only), or both (any). Proxy listens on 'listen_port' for Write Leader
connections while on 'read_listen_port' for Read Nodes connections.


```sh
pgd create-proxy [flags]
Expand All @@ -19,9 +23,14 @@ pgd create-proxy [flags]

```text
Example 1 (attach new proxy called proxy-a1 to group bdrgroup)
Example 1 (attach new proxy called proxy-a1 to group group_a, with 'default' mode)
$ pgd create-proxy --proxy-name proxy-a1 --group-name group_a
proxy created successfully
Example 2 (attach new proxy called proxy-b1 to group group_b, with 'any' mode)
$ pgd create-proxy --proxy-name proxy-a1 --group-name bdrgroup
$ pgd create-proxy --proxy-name proxy-b1 --group-name group_b --proxy-mode any
proxy created successfully
```
Expand All @@ -31,13 +40,17 @@ pgd create-proxy [flags]
```text
--group-name string group name
-h, --help help for create-proxy
--proxy-mode string proxy mode (default, read-only, any); proxy will route connections to -
default - Write Leader
read-only - Read Nodes
any - both Write Leader and Read Nodes (default "default")
--proxy-name string proxy name
```

### Options inherited from parent commands

```text
-f, --config-file string config file; ignored if
-f, --config-file string config file; ignored if
--dsn flag is present (default "/etc/edb/pgd-cli/pgd-cli-config.yml")
--dsn string database connection string
e.g."host=bdr-a1 port=5432 dbname=bdrdb user=postgres "
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ You can set the following group options with this command:
- 'enable_proxy_routing'
- 'location'
- 'route_writer_max_lag'
- 'route_reader_max_lag'

Both 'enable_raft' and 'enable_proxy_routing' must be true if proxy is
attached to the group.
Expand Down Expand Up @@ -57,7 +58,7 @@ pgd set-group-options [flags]
### Options inherited from parent commands

```text
-f, --config-file string config file; ignored if
-f, --config-file string config file; ignored if
--dsn flag is present (default "/etc/edb/pgd-cli/pgd-cli-config.yml")
--dsn string database connection string
e.g."host=bdr-a1 port=5432 dbname=bdrdb user=postgres "
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ You can set the following node options with this command:
- 'route_fence'
- 'route_priority'
- 'route_writes'
- 'route_reads'

Use 'pgd show-nodes -o json' to view option values for each node.

Expand Down Expand Up @@ -54,7 +55,7 @@ pgd set-node-options [flags]
### Options inherited from parent commands

```text
-f, --config-file string config file; ignored if
-f, --config-file string config file; ignored if
--dsn flag is present (default "/etc/edb/pgd-cli/pgd-cli-config.yml")
--dsn string database connection string
e.g."host=bdr-a1 port=5432 dbname=bdrdb user=postgres "
Expand Down
15 changes: 13 additions & 2 deletions product_docs/docs/pgd/5/cli/command_ref/pgd_set-proxy-options.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,20 @@ You can set the following proxy options with this command:
- 'server_conn_keepalive'
- 'server_conn_timeout'
- 'consensus_grace_period'
- 'read_listen_address'
- 'read_listen_port'
- 'read_max_client_conn'
- 'read_max_server_conn'
- 'read_server_conn_keepalive'
- 'read_server_conn_timeout'
- 'read_consensus_grace_period'

After updating any of these options, restart proxy.

Set 'listen_port' to non-zero value to route traffic to the Write Leader and
set 'read_listen_port' to non-zero value to route traffic to Read nodes.
Setting it to zero will disable the respective routing.

Use 'pgd show-proxies -o json' to view option values for each proxy.


Expand All @@ -37,13 +48,13 @@ pgd set-proxy-options [flags]
Example 2 (multiple --option flags are allowed)
$ pgd set-proxy-options --proxy-name proxy-a1 --option listen_address=0.0.0.0 --option listen_port=6432
$ pgd set-proxy-options --proxy-name proxy-a1 --option listen_address=0.0.0.0 --option listen_port=0
proxy options updated successfully, please restart proxy service
Example 3 (use double quote if option value has spaces or special characters)
$ pgd set-proxy-options --proxy-name proxy-a1 --option "listen_address = 0.0.0.0" --option "listen_port = 6432"
$ pgd set-proxy-options --proxy-name proxy-a1 --option "listen_address = 0.0.0.0" --option "consensus_grace_period=1h 30m 5s"
proxy options updated successfully, please restart proxy service
```
Expand Down
12 changes: 6 additions & 6 deletions product_docs/docs/pgd/5/cli/command_ref/pgd_show-groups.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ pgd show-groups [flags]
$ pgd show-groups
Group Group ID Type Parent Group Location Raft Routing Write Leader
----- -------- ---- ------------ -------- ---- ------- ------------
bdrgroup 1360502012 global true false
group_a 3618712053 data bdrgroup a true true bdr-a1
group_b 402614658 data bdrgroup b true true bdr-b1
Group Group ID Type Parent Group Location Raft Routing Raft Leader Write Leader
----- -------- ---- ------------ -------- ---- ------- ----------- ------------
bdrgroup 1360502012 global world true false bdr-a2
group_a 3618712053 data bdrgroup a true true bdr-a2 bdr-a1
group_b 402614658 data bdrgroup b true true bdr-b1 bdr-b1
group_c 2808307099 data bdrgroup c false false
group_so 2123208041 subscriber-only bdrgroup c false false
Expand All @@ -49,7 +49,7 @@ pgd show-groups [flags]
### Options inherited from parent commands

```text
-f, --config-file string config file; ignored if
-f, --config-file string config file; ignored if
--dsn flag is present (default "/etc/edb/pgd-cli/pgd-cli-config.yml")
--dsn string database connection string
e.g."host=bdr-a1 port=5432 dbname=bdrdb user=postgres "
Expand Down
2 changes: 1 addition & 1 deletion product_docs/docs/pgd/5/cli/command_ref/pgd_show-nodes.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ pgd show-nodes [flags]
### Options inherited from parent commands

```text
-f, --config-file string config file; ignored if
-f, --config-file string config file; ignored if
--dsn flag is present (default "/etc/edb/pgd-cli/pgd-cli-config.yml")
--dsn string database connection string
e.g."host=bdr-a1 port=5432 dbname=bdrdb user=postgres "
Expand Down
14 changes: 7 additions & 7 deletions product_docs/docs/pgd/5/cli/command_ref/pgd_show-proxies.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@ pgd show-proxies [flags]
$ pgd show-proxies
Proxy Group Listen Addresses Listen Port
----- ----- ---------------- -----------
proxy-a1 group_a [0.0.0.0] 6432
proxy-a2 group_a [0.0.0.0] 6432
proxy-b1 group_b [0.0.0.0] 6432
proxy-b2 group_b [0.0.0.0] 6432
Proxy Group Listen Addrs Listen Port Read Listen Addrs Read Listen Port
----- ----- ------------ ----------- ----------------- ----------------
proxy-a1 group_a [0.0.0.0] 6432 [0.0.0.0] 6433
proxy-a2 group_a [0.0.0.0] 6432 [0.0.0.0] 6433
proxy-b1 group_b [0.0.0.0] 6432 [0.0.0.0] 6433
proxy-b2 group_b [0.0.0.0] 6432 [0.0.0.0] 6433
```

Expand All @@ -42,7 +42,7 @@ pgd show-proxies [flags]
### Options inherited from parent commands

```text
-f, --config-file string config file; ignored if
-f, --config-file string config file; ignored if
--dsn flag is present (default "/etc/edb/pgd-cli/pgd-cli-config.yml")
--dsn string database connection string
e.g."host=bdr-a1 port=5432 dbname=bdrdb user=postgres "
Expand Down
1 change: 1 addition & 0 deletions product_docs/docs/pgd/5/cli/configuring_cli.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: "Configuring PGD CLI"
navTitle: "Configuring PGD CLI"
description: "Configuring PGD CLI for simpler connections to your PGD cluster"
---

PGD CLI can be installed on any system that can connect to the PGD cluster. To use PGD CLI, you need a user with PGD superuser privileges or equivalent. The PGD user with superuser privileges is the [bdr_superuser role](../security). An example of an equivalent user is edb_admin on a BigAnimal distributed high-availability cluster.
Expand Down
1 change: 1 addition & 0 deletions product_docs/docs/pgd/5/cli/discover_connections.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ title: "Discovering connection strings"
navTitle: "Discovering connection strings"
indexdepth: 2
deepToC: true
description: "How to obtain the correct connection strings for your PGD-powered deployment."
---

You can install PGD CLI on any system that can connect to the PGD cluster. To use PGD CLI, you need a user with PGD superuser privileges or equivalent. The PGD user with superuser privileges is the [bdr_superuser role](../security). An example of an equivalent user is edb_admin on an EDB BigAnimal distributed high-availability cluster.
Expand Down
Loading

2 comments on commit 657d5c0

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

πŸŽ‰ Published on https://edb-docs.netlify.app as production
πŸš€ Deployed on https://664620fb232743ccdefd04b8--edb-docs.netlify.app

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.