Skip to content

Conversation

millasml
Copy link
Contributor

@millasml millasml commented Jul 7, 2025

Description

Support specifying backupVersion in Restore Spec. Passed into the -v option in fdbrestore

Type of change

  • New feature (non-breaking change which adds functionality)

Discussion

Are there any design details that you would like to discuss further?

Testing

Please describe the tests that you ran to verify your changes. Unit tests?
Manual testing?

Do we need to perform additional testing once this is merged, or perform in a larger testing environment?

Documentation

updated docs/restore_spec.md

Follow-up

Are there any follow-up issues that we should pursue in the future?

Does this introduce new defaults that we should re-evaluate in the future?

@johscheuer johscheuer self-requested a review July 7, 2025 15:47
@millasml millasml requested a review from johscheuer July 8, 2025 02:08
Copy link
Member

@johscheuer johscheuer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have one backup e2e test case (https://github.com/FoundationDB/fdb-kubernetes-operator/blob/main/e2e/test_operator_backups/operator_backup_test.go), could you add a new test case for the new feature?

@millasml millasml force-pushed the add-restore-versionstamp branch from 8bdac29 to 9f0e18e Compare July 11, 2025 02:06
@millasml millasml requested a review from johscheuer July 15, 2025 01:39
@millasml millasml requested a review from johscheuer July 17, 2025 09:03
@millasml
Copy link
Contributor Author

@johscheuer bump on this

Copy link
Member

@johscheuer johscheuer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Were you able to run the e2e test cases?

@foundationdb-ci
Copy link
Contributor

Result of fdb-kubernetes-operator-pr on Linux RHEL 9

  • Commit ID: 84185ad
  • Duration 4:02:05
  • Result: ❌ FAILED
  • Error: Error while executing command: if $fail_test; then exit 1; fi. Reason: exit status 1
  • Build Log terminal output (available for 30 days)
  • Build Workspace zip file of the working directory (available for 30 days)

@millasml millasml force-pushed the add-restore-versionstamp branch from 2a3460a to 2b2d289 Compare August 12, 2025 07:34
@millasml millasml requested a review from johscheuer August 12, 2025 11:50
@millasml
Copy link
Contributor Author

@johscheuer sorry for the delay, I'm back and hoping to get this merged this week. I've rebased and fixed the test, do take a look!

@foundationdb-ci
Copy link
Contributor

Result of fdb-kubernetes-operator-pr on Linux RHEL 9

  • Commit ID: 2b2d289
  • Duration 2:18:38
  • Result: ❌ FAILED
  • Error: Error while executing command: if $fail_test; then exit 1; fi. Reason: exit status 1
  • Build Log terminal output (available for 30 days)
  • Build Workspace zip file of the working directory (available for 30 days)

@millasml millasml force-pushed the add-restore-versionstamp branch from 2b2d289 to 87bf03f Compare August 25, 2025 09:02
@millasml
Copy link
Contributor Author

@johscheuer is there anything that is blocking this from merging?

Copy link
Member

@johscheuer johscheuer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry I was out, one question regarding the e2e test case.

Expect(fdbCluster.GetRange([]byte{prefix}, 25, 60)).Should(Equal(keyValues))
})

It("should restore the cluster successfully with a restorable version", func() {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems like this test doesn't belong here? I assume we don't want to run the restore test with the experimental partitioned backup system?

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.

3 participants