Increased MAX_WAIT periods for PHASE 1 and PHASE 2
ci/woodpecker/push/deploy Pipeline was successful
ci/woodpecker/push/deploy Pipeline was successful
This commit is contained in:
@@ -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)..."
|
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=""
|
LEADER_HOST=""
|
||||||
REPLICA_HOST=""
|
REPLICA_HOST=""
|
||||||
PHASE1_MAX_WAIT=1200
|
PHASE1_MAX_WAIT=3600
|
||||||
PHASE1_POLL_INTERVAL=15
|
PHASE1_POLL_INTERVAL=15
|
||||||
waited=0
|
waited=0
|
||||||
ROLE0=""
|
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).
|
# 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."
|
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
|
CONSECUTIVE_ZERO=0
|
||||||
PHASE2_MAX_WAIT=2100
|
PHASE2_MAX_WAIT=6000
|
||||||
PHASE2_POLL_INTERVAL=15
|
PHASE2_POLL_INTERVAL=15
|
||||||
waited=0
|
waited=0
|
||||||
REPLICA_ROLE=""
|
REPLICA_ROLE=""
|
||||||
|
|||||||
Reference in New Issue
Block a user