You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Wire --region through CLI, fix extension versioning, add 3-DC stall test
- Thread --region option (-G) through all three pg_autoctl create postgres
long_options arrays in cli_create_node.c, central option parsing in
cli_common.c (case 'G'), keeper_config KeeperConfig.region field,
nodespec.c ini/argv builder, and monitor_register_node() SQL call ().
- Bump extension version to 2.3 consistently: Makefile EXTVERSION, metadata.h
AUTO_FAILOVER_EXTENSION_VERSION, and pgautofailover.control already at 2.3.
Add pgautofailover--2.3--dummy.sql upgrade path for dummy_update regress test.
Update dummy_update.out expected DETAIL line to say '2.3'.
- Fix monitor regress test ordering: add ORDER BY nodeid to the unordered
SELECT from pgautofailover.node so the result is deterministic regardless
of heap page layout (wider rows from new region/replication_stall_since
columns changed physical scan order).
- Update watch_colspecs.h MAX_COL_SPECS 12→14 to accommodate the new
COLUMN_TYPE_REGION entry plus COLUMN_TYPE_LAST sentinel in the fully-verbose
column policy (13 entries total).
- Add pgaftest DSL support for 'region <name>' node option: T_REGION token in
lexer, grammar rule in parser, TestNode.region field, compose_gen writes
--region flag, cli_indent pretty-prints it.
- Add tests/tap/specs/replication_stall_3dc.pgaf: 2-node cluster across
dc1/dc2 regions; cuts network to node2, waits for node1 to reach
wait_primary (FSM rule fires after replication_stall_timeout), then
restores connectivity and waits for secondary recovery.
0 commit comments