Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Re-edit of PGD - third set of edits #5784

Merged
merged 6 commits into from
Jun 26, 2024
Merged

Re-edit of PGD - third set of edits #5784

merged 6 commits into from
Jun 26, 2024

Conversation

ebgitelman
Copy link
Contributor

What Changed?

@@ -25,6 +25,8 @@ At the end of the provisioning stage, you will have the required number of insta
## Deploy
The `tpaexec deploy` command installs and configures Postgres and other software on the provisioned servers. TPA can create the servers, but it doesn't matter who created them so long as SSH and sudo access are available. This includes setting up replication, backups, and so on.
Copy link
Contributor Author

@ebgitelman ebgitelman Jun 19, 2024

Choose a reason for hiding this comment

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

@djw-m I couldn't trace what "This" means in the last sentence. Can you clarify?

@@ -79,7 +79,9 @@ This doesn't allow COMMIT status to be retrieved, but it does let you choose ava

For a CAMO partner to switch to ready, it needs to be connected, and the estimated catchup interval needs to drop below the `timeout` value of `TO ASYNC`. You can check the current readiness status of a CAMO partner with [`bdr.is_camo_partner_ready()`](/pgd/latest/reference/functions#bdris_camo_partner_ready), while [`bdr.node_replication_rates`](/pgd/latest/reference/catalogs-visible#bdrnode_replication_rates) provides the current estimate of the catchup time.

The switch from CAMO protected to asynchronous mode is only ever triggered by an actual CAMO transaction either because the commit exceeds the `timeout` value of `TO ASYNC` or, in case the CAMO partner is already known, disconnected at the time of commit. This switch is independent of the estimated catchup interval. If the CAMO pair is configured to require the current node to be the write lead of a group as configured through `enable_proxy_routing` node group option. See [Commit scopes](commit-scopes) for syntax. This can prevent a split brain situation due to an isolated node from switching to asynchronous mode. If `enable_proxy_routing` isn't set for the CAMO group, the origin node switches to asynchronous mode immediately.
The switch from CAMO-protected to asynchronous mode is only ever triggered by an actual CAMO transaction. This is true either because the commit exceeds the `timeout` value of `TO ASYNC` or, in case the CAMO partner is already known, disconnected at the time of commit. This switch is independent of the estimated catchup interval. If the CAMO pair is configured to require the current node to be the write lead of a group as configured through the `enable_proxy_routing` node group option. See [Commit scopes](commit-scopes) for syntax. This can prevent a split brain situation due to an isolated node from switching to asynchronous mode. If `enable_proxy_routing` isn't set for the CAMO group, the origin node switches to asynchronous mode immediately.
Copy link
Contributor Author

@ebgitelman ebgitelman Jun 19, 2024

Choose a reason for hiding this comment

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

@djw-m This is a fragment:
If the CAMO pair is configured to require the current node to be the write lead of a group as configured through the enable_proxy_routing node group option.
Can you figure out what was meant?

Also, I was again not able to trace what "This" meant in the second-to-last sentence.

@ebgitelman
Copy link
Contributor Author

@djw-m I have a few queries on this one. Thank you!

Copy link
Contributor

@djw-m djw-m left a comment

Choose a reason for hiding this comment

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

LGTM - will need to return to the broken text in the CAMO switch section,

@djw-m djw-m merged commit 60169ba into develop Jun 26, 2024
1 check passed
@djw-m djw-m deleted the docs/pgd_reedit_3 branch June 26, 2024 11:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants