-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Separate backup and restore into two workloads #12019
base: main
Are you sure you want to change the base?
Conversation
Result of foundationdb-pr-clang-ide on Linux CentOS 7
|
Result of foundationdb-pr-macos-m1 on macOS Ventura 13.x
|
Result of foundationdb-pr-clang-arm on Linux CentOS 7
|
Result of foundationdb-pr-cluster-tests on Linux CentOS 7
|
Result of foundationdb-pr-clang on Linux CentOS 7
|
Result of foundationdb-pr on Linux CentOS 7
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there not code to remove? I'm guessing the backup and restore replace a combined actor that did both functions?
Result of foundationdb-pr-clang-ide on Linux CentOS 7
|
Result of foundationdb-pr-clang on Linux CentOS 7
|
Result of foundationdb-pr-clang-arm on Linux CentOS 7
|
Result of foundationdb-pr on Linux CentOS 7
|
Result of foundationdb-pr-cluster-tests on Linux CentOS 7
|
Existing code does more complex combinations, which is still useful until this refactored code matches the existing feature set. I'll make more tests that builds on top of this PR. |
Result of foundationdb-pr-clang-ide on Linux CentOS 7
|
Result of foundationdb-pr-macos-m1 on macOS Ventura 13.x
|
Result of foundationdb-pr-clang-arm on Linux CentOS 7
|
Result of foundationdb-pr-cluster-tests on Linux CentOS 7
|
Result of foundationdb-pr-clang on Linux CentOS 7
|
Result of foundationdb-pr-macos on macOS Ventura 13.x
|
Result of foundationdb-pr on Linux CentOS 7
|
Result of foundationdb-pr-clang-ide on Linux CentOS 7
|
Result of foundationdb-pr-macos-m1 on macOS Ventura 13.x
|
Result of foundationdb-pr-clang-arm on Linux CentOS 7
|
Result of foundationdb-pr-cluster-tests on Linux CentOS 7
|
Result of foundationdb-pr on Linux CentOS 7
|
Result of foundationdb-pr-clang on Linux CentOS 7
|
Result of foundationdb-pr-macos on macOS Ventura 13.x
|
This allows more flexible testing as well as cleaner code.
Otherwise, the Restore workload doesn't have agents, thus can't make progress. 100k partitioned restore tests, i.e., BackupAndRestore.toml and BackupCorrectnessPartitioned.toml: 20250311-200411-jzhou-9d34d22d5225d6fe
Instead, infer the flag from backup description.
This allows us to specify old or new style of backup to be used. Added two tests that switch between them and randomly choose one backup to restore. 20250314-034057-jzhou-c27ca23b6c69cecf
20250314-034541-jzhou-13ed090d0b111474
Because we separate backup and restore into two workloads, they may not choose the same encryption option, i.e., one encrypted and the other unencrypted. 20250320-013757-jzhou-12b4c8e4504ffd96
20250321-222324-jzhou-fdcd6f145f3ac0f8
This can cause subsequent backup and restore workload to fail. 20250322-040333-jzhou-15c32299d18f4456 100k backup tests: 20250322-040453-jzhou-2bdb4e0ddc265632
If done version by version, it is inefficient and causes the task to be interrupted in simulation, thus never finishing the RestoreLogDataPartitionedTaskFunc. 20250324-040712-jzhou-cd8501d3890a6b56 100k backup tests: 20250324-040751-jzhou-8cec93182e6d3acb
Result of foundationdb-pr-clang-ide on Linux CentOS 7
|
Result of foundationdb-pr-macos-m1 on macOS Ventura 13.x
|
Result of foundationdb-pr-clang-arm on Linux CentOS 7
|
Result of foundationdb-pr-clang on Linux CentOS 7
|
Result of foundationdb-pr on Linux CentOS 7
|
Result of foundationdb-pr-cluster-tests on Linux CentOS 7
|
Result of foundationdb-pr-macos on macOS Ventura 13.x
|
20250326-182125-jzhou-375d243c097c3b5a 20250325-221139-jzhou-5dac71c4525d414c 100k backup tests: 20250326-162525-jzhou-f08e3fc12887a3e9
Do these checks in the last [[test]] specified in TOML file.
Result of foundationdb-pr-clang-ide on Linux CentOS 7
|
Result of foundationdb-pr-macos-m1 on macOS Ventura 13.x
|
Result of foundationdb-pr-clang-arm on Linux CentOS 7
|
Result of foundationdb-pr-clang on Linux CentOS 7
|
Result of foundationdb-pr-cluster-tests on Linux CentOS 7
|
Result of foundationdb-pr on Linux CentOS 7
|
Result of foundationdb-pr-macos on macOS Ventura 13.x
|
For testing the switch between old and new backups.
100k backup tests 20250326-201036-jzhou-41c582d26bcec969
Code-Reviewer Section
The general pull request guidelines can be found here.
Please check each of the following things and check all boxes before accepting a PR.
For Release-Branches
If this PR is made against a release-branch, please also check the following:
release-branch
ormain
if this is the youngest branch)