Commit 62bb107
157233: Add fingerprint checking to import roachtests r=mw5h a=mw5h
#### roachtest/import: refactor existing roachtests for import
Previously, the roachtests for import were distressingly absent solid
verification of the imported data. This patch changes those tests to use
the newly revamed SHOW FINGERPRINTS to validate the imported data. Along
the way, we attempt to standardize and rationalize the test design so
that it's more easily extensible.
As part of this work, we're moving away from using TPC-C data even though
it most closely resembles OLTP workloads because it's much easier to
validate the import of the static TPC-H data files. We keep the TPC-C
benchmark because that's potentially interesting, but it's a separate
thing for now.
We also now standardize how we deal with local clusters by picking a
scale factor during data set initialization. Local uses scale factor 1
and our four node tests use scale factor 100. The data set initializer
has access to the cluster configuration, so we can select even larger
scale factors for larger clusters in the future, if desired.
Informs: #156816
Release note: None
#### roachtest/import: add cancellation test to import
Previously, import_cancellation was a separate test that imported the
entire TPC-H dataset and then ran the TPC-H workload to verify that
there were no errors. Unfortunately, the TPC-H workload does not verify
the correctness of results (only the number of results), which means
there could be import errors that go undetected.
This patch brings the core import & cancel logic from the
import-cancellation test into the import test as a custom test runner,
which lets us use the validation logic already in the import test. For
now we only import a single, random file but a future patch will select
a random set of files to import to maintain the same coverage in the
face of concurrent imports.
Fixes: #156816
Release note: None
157845: build: reduce `shard_count` of `allccl_test` to 4 r=rail a=rickystewart
This package only has 4 tests.
Release note: none
Epic: none
Co-authored-by: Matt White <[email protected]>
Co-authored-by: Ricky Stewart <[email protected]>
File tree
6 files changed
+604
-540
lines changed- pkg
- ccl/workloadccl/allccl
- cmd/roachtest/tests
6 files changed
+604
-540
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
| 49 | + | |
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
91 | | - | |
92 | 91 | | |
93 | 92 | | |
94 | 93 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
626 | 626 | | |
627 | 627 | | |
628 | 628 | | |
629 | | - | |
| 629 | + | |
630 | 630 | | |
631 | 631 | | |
632 | 632 | | |
| |||
0 commit comments