Increased MAX_WAIT periods for PHASE 1 and PHASE 2
ci/woodpecker/push/deploy Pipeline was successful

This commit is contained in:
AVB
2026-08-05 11:48:23 -07:00
parent b2b86a668d
commit 57354b6613
+2 -2
View File
@@ -354,7 +354,7 @@ fi
log "Confirming standby_leader bootstrap completes (winner is nondeterministic — polling BOTH patroni-0 and patroni-1; a full ~42GB basebackup has been observed to take 8-11 minutes, so this window is generous)..."
LEADER_HOST=""
REPLICA_HOST=""
PHASE1_MAX_WAIT=1200
PHASE1_MAX_WAIT=3600
PHASE1_POLL_INTERVAL=15
waited=0
ROLE0=""
@@ -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=2100
PHASE2_MAX_WAIT=6000
PHASE2_POLL_INTERVAL=15
waited=0
REPLICA_ROLE=""