openvibers/openvibe.host Commits
pgBackRest waits five minutes for a backup's last WAL segment (#326)
Changes
@@@ -78,6 +78,9 @@ repo1-retention-full=2repo1-retention-full-type=countprocess-max=2start-fast=y++# A backup waits for its last WAL segment to reach the repository (B2, over the internet). The default 60 s failed the++# 2026-11-07 diff during the 02:35 load spike (ERROR [082]); five minutes rides out a slow B2 minute.++archive-timeout=300compress-type=zstlog-level-console=warnlog-level-file=info@@@ -53,6 +53,7 @@ runTests([assert.match(p, /pgbackrest --stanza=openvibe archive-push %p/);assert.match(p, /repo1-cipher-type=aes-256-cbc/);assert.match(p, /repo1-path=\/openvibe-pgbackrest/, 'beside, never under, the pruned backup prefix');++ assert.match(p, /^archive-timeout=300$/m, 'a backup waits up to five minutes for its last WAL segment (the 11-07 diff failed at 60 s)');assert.match(p, /REVOKE CONNECT ON DATABASE postgres FROM PUBLIC;/, 'service roles cannot reach the maintenance database');const lib = read('lib.sh');assert.match(lib, /SCRAM-SHA-256\$\{it\}/, 'passwords reach SQL as SCRAM secrets');
@@ -78,6 +78,9 @@ repo1-retention-full=2
@@ -78,6 +78,9 @@ repo1-retention-full=2
repo1-retention-full-type=count
repo1-retention-full-type=count
process-max=2
process-max=2
start-fast=y
start-fast=y
+# A backup waits for its last WAL segment to reach the repository (B2, over the internet). The default 60 s failed the
+# 2026-11-07 diff during the 02:35 load spike (ERROR [082]); five minutes rides out a slow B2 minute.
+archive-timeout=300
compress-type=zst
compress-type=zst
log-level-console=warn
log-level-console=warn
log-level-file=info
log-level-file=info
@@ -53,6 +53,7 @@ runTests([
@@ -53,6 +53,7 @@ runTests([
assert.match(p, /pgbackrest --stanza=openvibe archive-push %p/);
assert.match(p, /pgbackrest --stanza=openvibe archive-push %p/);
assert.match(p, /repo1-cipher-type=aes-256-cbc/);
assert.match(p, /repo1-cipher-type=aes-256-cbc/);
assert.match(p, /repo1-path=\/openvibe-pgbackrest/, 'beside, never under, the pruned backup prefix');
assert.match(p, /repo1-path=\/openvibe-pgbackrest/, 'beside, never under, the pruned backup prefix');
+ assert.match(p, /^archive-timeout=300$/m, 'a backup waits up to five minutes for its last WAL segment (the 11-07 diff failed at 60 s)');
assert.match(p, /REVOKE CONNECT ON DATABASE postgres FROM PUBLIC;/, 'service roles cannot reach the maintenance database');
assert.match(p, /REVOKE CONNECT ON DATABASE postgres FROM PUBLIC;/, 'service roles cannot reach the maintenance database');
const lib = read('lib.sh');
const lib = read('lib.sh');
assert.match(lib, /SCRAM-SHA-256\$\{it\}/, 'passwords reach SQL as SCRAM secrets');
assert.match(lib, /SCRAM-SHA-256\$\{it\}/, 'passwords reach SQL as SCRAM secrets');