From a82c31470dd1fef3e31ed4a889199e325296daa5 Mon Sep 17 00:00:00 2001 From: Betsy Gitelman Date: Thu, 14 Nov 2024 17:25:14 -0500 Subject: [PATCH] Edits to Docs 1104 Document missing optimized topology changes to tables PGD #6221 --- product_docs/docs/pgd/5.6/reference/catalogs-internal.mdx | 8 ++++---- product_docs/docs/pgd/5.6/reference/catalogs-visible.mdx | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/product_docs/docs/pgd/5.6/reference/catalogs-internal.mdx b/product_docs/docs/pgd/5.6/reference/catalogs-internal.mdx index 469e184b283..7a076ca38be 100644 --- a/product_docs/docs/pgd/5.6/reference/catalogs-internal.mdx +++ b/product_docs/docs/pgd/5.6/reference/catalogs-internal.mdx @@ -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. | diff --git a/product_docs/docs/pgd/5.6/reference/catalogs-visible.mdx b/product_docs/docs/pgd/5.6/reference/catalogs-visible.mdx index eb96906b31e..44355815073 100644 --- a/product_docs/docs/pgd/5.6/reference/catalogs-visible.mdx +++ b/product_docs/docs/pgd/5.6/reference/catalogs-visible.mdx @@ -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.
`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.
`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.
`generation` is updated sequentially upon leader change. | ### `bdr.local_consensus_snapshot`