Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
103228: roachtest: change some cluster settings during mixed-version backups r=smg260 a=renatolabs This commit makes some final (for now) changes to the `backup-restore/mixed-version` roachtest. Specifically: * we set some backup/restore related cluster settings. These are publicly documented settings and should help expose corner cases that might be harder to come up naturally using the default settings. This is an area that is known to need more tests, as described in a recent postmortem [1]. * introduce a background function that executes statements that lead to rows being inserted into system tables, particularly those that are generally empty in most tests. * simplify the workload setup in the test: the `bank` workload is responsible for testing edge cases, while `tpcc` is a workload that should better represent customer workloads. * verify that backups taken in mixed-version can be restored both in the previous version and in the next version. Previously, we were only testing the next version. Note that most of these changes are not specificaly related to the mixed-version context this test is in. In the future, these features should be packaged in a format that is easier to consume by other tests. [1] https://cockroachlabs.atlassian.net/wiki/spaces/ENG/pages/3013804060/Postmortem+101963+revision+history+backups Epic: none Release note: None 103590: roachtest: add GCP 400 incremental layer restore test r=rhu713 a=rhu713 Co-authored-by: Renato Costa <[email protected]> Co-authored-by: Rui Hu <[email protected]>
- Loading branch information