Skip to content

Commit

Permalink
Merge pull request #6241 from EnterpriseDB/docs/edits_to_pgd_p6221
Browse files Browse the repository at this point in the history
Edits to Docs 1104 Document missing optimized topology changes to tables
  • Loading branch information
djw-m authored Nov 18, 2024
2 parents add7b08 + a82c314 commit 2441c31
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions product_docs/docs/pgd/5.6/reference/catalogs-internal.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -168,10 +168,10 @@ An internal catalog table holding current routing information for a proxy.

| Name | Type | Description |
|----------------------|-------------|------------------------------------------------------------------------------------------|
| node_group_id | oid | Node group ID |
| write_node_id | oid | Current write node |
| prev_write_node_id | oid | Previous write node |
| read_node_ids | oid[] | List of read-only nodes IDs |
| node_group_id | oid | Node group ID. |
| write_node_id | oid | Current write node. |
| prev_write_node_id | oid | Previous write node. |
| read_node_ids | oid[] | List of read-only nodes IDs. |
| record_version | bigint | Record version. Incremented by 1 on every material change to the routing record. |
| record_ts | timestamptz | Timestamp of last update to record_version. |
| write_leader_version | bigint | Write leader version. Copied from record_version every time write_node_id is changed. |
Expand Down
8 changes: 4 additions & 4 deletions product_docs/docs/pgd/5.6/reference/catalogs-visible.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -385,17 +385,17 @@ Tracks leader nodes across subgroups in the cluster. Shows the status of all wri

| Name | Type | Description |
| ---------------- | ---- | ------------------------------ |
| node_group_id | oid | ID of the node group |
| leader_node_id | oid | ID of the leader node |
| node_group_id | oid | ID of the node group. |
| leader_node_id | oid | ID of the leader node. |
| generation | int | Generation of the leader node. Leader_kind sets semantics. |
| leader_kind | "char" | Kind of the leader node |
| leader_kind | "char" | Kind of the leader node. |

Leader_kind values can be:

| Value | Description |
|-------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| W | Write leader, as per proxy routing. In this case leader is maintained by subgroup Raft instance. <br/> `generation` corresponds to `write_leader_version` of respective `bdr.node_group_routing_info` record. |
| S | Subscriber-only group leader. This designated member of a SO group subscribes to upstream data nodes, and is tasked with publishing upstream changes to remaining SO group members. Leader is maintained by toplevel Raft instance.<br/>`generation` is updated sequentially upon leader change. |
| S | Subscriber-only group leader. This designated member of a SO group subscribes to upstream data nodes and is tasked with publishing upstream changes to remaining SO group members. Leader is maintained by top-level Raft instance.<br/>`generation` is updated sequentially upon leader change. |

### `bdr.local_consensus_snapshot`

Expand Down

0 comments on commit 2441c31

Please sign in to comment.