Skip to content

Handle recovery target#71

Merged
l00ptr merged 11 commits intomainfrom
handle-recovery-target
Feb 13, 2026
Merged

Handle recovery target#71
l00ptr merged 11 commits intomainfrom
handle-recovery-target

Conversation

@l00ptr
Copy link
Collaborator

@l00ptr l00ptr commented Feb 9, 2026

No description provided.

Left over from renaming Repository CRD to Stanza.
@l00ptr l00ptr marked this pull request as draft February 9, 2026 16:17
@l00ptr l00ptr force-pushed the handle-recovery-target branch 4 times, most recently from 7ca2787 to f6f7d9b Compare February 12, 2026 14:26
@l00ptr l00ptr marked this pull request as ready for review February 12, 2026 14:26
@l00ptr l00ptr requested a review from pchovelon February 12, 2026 14:27
We improve parsing of pgbackrest info to handle multi-repository and run
stanza-create when one of them is not configured. We also add a unit
test for multi repository detection.
Instead of building the podName in multiple places.
Insert data into a Cluster during e2e tests and verify it after restore.
Introduces helper functions to create tables, insert rows, and count rows,
allowing restore to a specific time target (RecoveryTarget).

Refactors cluster.Create to accept a RestoreOption and updates
TestCreateAndRestoreInstance to validate that the number of rows after restore
matches expectations.

Adds a new command package for executing SQL commands inside pods and exposes
ClientSet and rest.Config in K8sClient for these operations. (this part
is copy / pasted from the Barman CNPG plugin test suite).
@l00ptr l00ptr force-pushed the handle-recovery-target branch from f6f7d9b to ce5f201 Compare February 13, 2026 07:04
@l00ptr l00ptr merged commit 67e287e into main Feb 13, 2026
4 checks passed
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.

2 participants