Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
roachtest: enable sysbench test suite
Informs cockroachdb#32738. Now that we know more about cockroachdb#32738, we know that we can safely avoid it if we talk directly to a cockroach node (i.e bypass haproxy) during the preparation phase of sysbench. This commit re-enables the sysbench test suite after doing so. The commit also passes the `--auto_inc=false` flag to sysbench. This is critical, because without this the test will use a `SERIAL` column for the primary key of each table. It then expects that the `SERIAL` column will create rows with values [1, table_size], which is not true in CRDB by default. Before this fix, I was noticing incredibly high UPDATE throughput, which was a result of never finding any real rows to update. We can use the `experimental_serial_normalization` variable to use a real SQL sequence to back the `SERIAL` column, but this slows down the import step by two orders of magnitude because updates to the sequence are not batched for multi-value INSERT statements. One question I'd like to resolve during the review is whether we should tag this as a weekly test. We don't have the ability to parse its output to hook it up to roachperf (yet), so there's not a particularly strong reason to run it nightly. Release note: None
- Loading branch information