Skip to content

test: guard pgBackRest WAL archive memory use - #186

Open
melancholictheory wants to merge 2 commits into
operasoftware:mainfrom
melancholictheory:fb/wal-archive-memory-check
Open

melancholictheory wants to merge 2 commits into
operasoftware:mainfrom
melancholictheory:fb/wal-archive-memory-check

Conversation

@melancholictheory

@melancholictheory melancholictheory commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

pgBackRest 2.60.0 can retain multipart upload buffers in each async archive worker. Add a Dagger task to CI that exercises the pgBackRest package used by the sidecar. It archives 128 real WAL segments to MinIO with eight workers, verifies that every upload exercised multipart, and checks peak summed anonymous RSS against a 300 MiB budget.

Related upstream work: pgBackRest issue #2911 and pgBackRest PR #2912.

Local Dagger validation on Linux ARM64, with 128 of 128 multipart uploads in both runs:

pgBackRest build Peak anonymous RSS Result
PGDG 2.60.0, the current sidecar package 575.9 MiB Failed the 300 MiB budget as expected
2.61.0dev with the single-bucket fix from #2912 174.4 MiB Passed

The CI task uses the actual sidecar package. It will remain red until PGDG provides a version with the fix.

Signed-off-by: Vasiliy Koshkin <selimvhorst@gmail.com>
Signed-off-by: Vasiliy Koshkin <selimvhorst@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant