Skip to content

test(e2e): cover parallel WAL restore via the plugin#978

Open
armru wants to merge 3 commits into
mainfrom
dev/10954
Open

test(e2e): cover parallel WAL restore via the plugin#978
armru wants to merge 3 commits into
mainfrom
dev/10954

Conversation

@armru

@armru armru commented Jun 22, 2026

Copy link
Copy Markdown
Member

Recreate the parallel WAL-restore coverage in the plugin repo: a 2-instance cluster archiving to minio with wal.maxParallel=3, forged WAL segments on the object store, and assertions on the plugin's prefetch/spool/end-of-wal-stream state machine driven through /controller/manager wal-restore on the standby.

Part of cloudnative-pg/cloudnative-pg#10954.

@armru armru requested a review from a team as a code owner June 22, 2026 15:58
@dosubot dosubot Bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label Jun 22, 2026
@dosubot dosubot Bot added the lgtm This PR has been approved by a maintainer label Jun 23, 2026
armru and others added 3 commits June 26, 2026 10:15
Recreate the parallel WAL-restore coverage in the plugin repo: a 2-instance
cluster archiving to minio with wal.maxParallel=3, forged WAL segments on the
object store, and assertions on the plugin's prefetch/spool/end-of-wal-stream
state machine driven through `/controller/manager wal-restore` on the standby.

Part of cloudnative-pg/cloudnative-pg#10954.

Signed-off-by: Armando Ruocco <armando.ruocco@enterprisedb.com>
Signed-off-by: Niccolò Fei <niccolo.fei@enterprisedb.com>
If pod-1 is not the primary we'd fail anyway because a timeline
bump would make all assertions about the walLogDir fail.
Also there's no reason why there should have been a switchover,
so we should not hide a failure if that happens.

Signed-off-by: Niccolò Fei <niccolo.fei@enterprisedb.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lgtm This PR has been approved by a maintainer size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants