Skip to content

Commit

Permalink
Fix notes for bdr.run_on_nodes and bdr.run_on_group
Browse files Browse the repository at this point in the history
The text was copy pasted from `bdr.run_on_all_nodes` and the wording and warnings need to be somewhat different for these two functions
  • Loading branch information
PJMODOS authored and josh-heyer committed Sep 27, 2023
1 parent 9b118a9 commit 4ffacea
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions product_docs/docs/pgd/5/reference/functions.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -486,13 +486,13 @@ defaults are used.

This function doesn't go through normal replication. It uses direct client
connection to all known nodes. By default, the connection is created
with `bdr.ddl_replication = off`, since the commands are already being sent
to all of the nodes in the cluster.
with `bdr.ddl_replication = off`, to avoid replication issues when the same
replicated DDL command is sent to multiple nodes.

Be careful when using this function since you risk breaking replication
and causing inconsistencies between nodes. Use either transparent DDL
replication or `bdr.replicate_ddl_command()` to replicate DDL.
DDL might be blocked in a future release.
and causing inconsistencies between nodes. For global schema changes, use
either transparent DDL replication or `bdr.replicate_ddl_command()` to
replicate DDL.

### `bdr.run_on_group`

Expand Down Expand Up @@ -525,13 +525,13 @@ defaults are used.

This function doesn't go through normal replication. It uses direct client
connection to all known nodes. By default, the connection is created
with `bdr.ddl_replication = off`, since the commands are already being sent
to all of the nodes in the cluster.
with `bdr.ddl_replication = off`, to avoid replication issues when the same
replicated DDL command is sent to multiple nodes.

Be careful when using this function since you risk breaking replication
and causing inconsistencies between nodes. Use either transparent DDL
replication or `bdr.replicate_ddl_command()` to replicate DDL.
DDL might be blocked in a future release.
and causing inconsistencies between nodes. For global schema changes, use
either transparent DDL replication or `bdr.replicate_ddl_command()` to
replicate DDL.

### `bdr.global_lock_table`

Expand Down

0 comments on commit 4ffacea

Please sign in to comment.