From 55ed1c8e4b9550ae188470f7a8dfb62171132085 Mon Sep 17 00:00:00 2001 From: Naveen Setlur Date: Mon, 12 Aug 2024 16:45:10 -0400 Subject: [PATCH] roachtest: Fix ycsb workload to avoid column families The update_heavy test had failures because the ycsb workload was using column families, which aren't supported for LDR. Release note: none Fixes: #128740 --- pkg/cmd/roachtest/tests/logical_data_replication.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/cmd/roachtest/tests/logical_data_replication.go b/pkg/cmd/roachtest/tests/logical_data_replication.go index 3e842b17d01e..f12152be4fd8 100644 --- a/pkg/cmd/roachtest/tests/logical_data_replication.go +++ b/pkg/cmd/roachtest/tests/logical_data_replication.go @@ -44,7 +44,7 @@ type ycsbWorkload struct { } func (ycsb ycsbWorkload) sourceInitCmd(tenantName string, nodes option.NodeListOption) string { - cmd := roachtestutil.NewCommand(`./cockroach workload init ycsb`). + cmd := roachtestutil.NewCommand(`./cockroach workload init ycsb --families=false`). MaybeFlag(ycsb.initRows > 0, "insert-count", ycsb.initRows). MaybeFlag(ycsb.initSplits > 0, "splits", ycsb.initSplits). Arg("{pgurl%s:%s}", nodes, tenantName) @@ -52,7 +52,7 @@ func (ycsb ycsbWorkload) sourceInitCmd(tenantName string, nodes option.NodeListO } func (ycsb ycsbWorkload) sourceRunCmd(tenantName string, nodes option.NodeListOption) string { - cmd := roachtestutil.NewCommand(`./cockroach workload run ycsb`). + cmd := roachtestutil.NewCommand(`./cockroach workload run ycsb --families=false`). Option("tolerate-errors"). Flag("workload", ycsb.workloadType). MaybeFlag(ycsb.debugRunDuration > 0, "duration", ycsb.debugRunDuration).