From 7a62b1b5853de8fadabc3c5fc08218ade549c61b Mon Sep 17 00:00:00 2001 From: AVB Date: Wed, 5 Aug 2026 12:43:35 -0700 Subject: [PATCH] Reducing MAX_WAIT back down. --- postgresql/cutover/cutover.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/postgresql/cutover/cutover.sh b/postgresql/cutover/cutover.sh index 4bbc25a..06ac7a1 100644 --- a/postgresql/cutover/cutover.sh +++ b/postgresql/cutover/cutover.sh @@ -395,7 +395,7 @@ log "--- Phase 2: confirm streaming lag = 0 (cascade replica: ${REPLICA_HOST}) - # and requires literal state=streaming AND (lag=0 or lag absent). log "Note: ${REPLICA_HOST} is bootstrapping via a full basebackup from ${LEADER_HOST} — an extra hop beyond Phase 1's basebackup, so this window is deliberately longer than Phase 1's." CONSECUTIVE_ZERO=0 -PHASE2_MAX_WAIT=6000 +PHASE2_MAX_WAIT=2400 PHASE2_POLL_INTERVAL=15 waited=0 REPLICA_ROLE=""