From 3a13fe291b53c7e6c784169ac77d5f3ea26ea577 Mon Sep 17 00:00:00 2001
From: Valery Kharseko <vharseko@3a-systems.ru>
Date: Tue, 01 Dec 2026 20:10:28 +0000
Subject: [PATCH] Recognize recovered startup timeouts on rolling replication servers (#1354)
---
.github/scripts/replication/disturb-scale.sh | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/.github/scripts/replication/disturb-scale.sh b/.github/scripts/replication/disturb-scale.sh
index 8fcc72f..41442a1 100644
--- a/.github/scripts/replication/disturb-scale.sh
+++ b/.github/scripts/replication/disturb-scale.sh
@@ -498,7 +498,7 @@
# may finish after CORE135; only timeouts before that startup marker are candidates.
# Admin/schema domains have their own DS IDs; another live RS may win the retry.
# Keep the full error as evidence so another record cannot inherit the allowance.
-scale_record_reconnected_timeouts() { # <DS> <rolling RS> <direction>
+scale_record_reconnected_timeouts() { # <restarted node> <rolling RS> <direction>
local node=$1 direction=$3 window="$OUT/logs/$1.window-$3-$1"
local before after mark candidate address addresses= target="$OUT/scale-progress/timeouts-$3-$1.txt"
[ -f "$window" ] && [ -f "$OUT/logs/$node.mark" ] || return 0
@@ -662,8 +662,7 @@
# Startup opens LDAP before the background join has finished its administrative
# JVMs. Keep this group paused until every join succeeds, while the other DSs keep
# writing. This also completes the group before the next surviving writer rolls.
- scale_wait "the join of $rolling_rs ends" bootstrap_ended "$rolling_rs" || return 1
- for node in "$first" "$second"; do
+ for node in "$rolling_rs" "$first" "$second"; do
scale_wait "the join of $node ends" bootstrap_ended "$node" || return 1
scale_record_reconnected_timeouts "$node" "$rolling_rs" "$direction" || return 1
done
--
Gitblit v1.10.0