added rsync disable in master global tier 1, advanced selection tier 2

This commit is contained in:
2026-04-28 17:07:44 -04:00
parent 11872b802b
commit 1c765b7260
6 changed files with 96 additions and 6 deletions
+7
View File
@@ -471,6 +471,13 @@ run_handback() {
info "Outage duration: ${outage_minutes}min"
# Check rsync gate before running any writeback
if ! check_rsync_enabled "FAILOVER"; then
warn "FAILOVER_RSYNC_ENABLED=false — skipping all writeback jobs"
warn "Handback will complete without syncing state back to primary"
return 0
fi
run_writeback_tier() {
local tier="$1"
local threshold="$2"