Skip to content

Commit ebb9b9b

Browse files
committed
roachtest: add tpccbench configurations that have caused instability
See cockroachdb#31409. Release note: None
1 parent a0b7cd4 commit ebb9b9b

File tree

1 file changed

+31
-1
lines changed

1 file changed

+31
-1
lines changed

pkg/cmd/roachtest/tpcc.go

+31-1
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,11 @@ func registerTPCCBenchSpec(r *registry, b tpccBenchSpec) {
339339
// function is idempotent and first checks whether a compatible dataset exists,
340340
// performing an expensive dataset restore only if it doesn't.
341341
func loadTPCCBench(
342-
ctx context.Context, t *test, c *cluster, b tpccBenchSpec, roachNodes, loadNode nodeListOption,
342+
ctx context.Context,
343+
t *test,
344+
c *cluster,
345+
b tpccBenchSpec,
346+
roachNodes, loadNode nodeListOption,
343347
) error {
344348
db := c.Conn(ctx, 1)
345349
defer db.Close()
@@ -736,6 +740,32 @@ func registerTPCCBench(r *registry) {
736740
LoadWarehouses: 50000,
737741
EstimatedMax: 40000,
738742
},
743+
744+
// See https://github.com/cockroachdb/cockroach/issues/31409 for the next three specs.
745+
{
746+
Nodes: 6,
747+
CPUs: 16,
748+
749+
LoadWarehouses: 5000,
750+
EstimatedMax: 3000,
751+
LoadConfig: singlePartitionedLoadgen,
752+
},
753+
{
754+
Nodes: 12,
755+
CPUs: 16,
756+
757+
LoadWarehouses: 10000,
758+
EstimatedMax: 6000,
759+
LoadConfig: singlePartitionedLoadgen,
760+
},
761+
{
762+
Nodes: 24,
763+
CPUs: 16,
764+
765+
LoadWarehouses: 20000,
766+
EstimatedMax: 12000,
767+
LoadConfig: singlePartitionedLoadgen,
768+
},
739769
}
740770

741771
for _, b := range specs {

0 commit comments

Comments
 (0)