loadgen
loadgen copied to clipboard
Failed to run tpcc against latest stable build
I'm running tpcc using prebuilt loadgen against prebuilt cockroach binary.
The link to the prebuilt loadgen:
wget https://edge-binaries.cockroachdb.com/cockroach/workload.LATEST
The link to the prebuilt cockroash binary:
https://binaries.cockroachdb.com/cockroach-v2.0.4.linux-amd64.tgz
The command I'm using for the testing:
./workload.LATEST run tpcc --drop --ramp=30s --warehouses=1 --duration=300s --split --scatter "postgresql://root@HOST:26257?sslmode=disable"
The error I got:
Error: failed insert into warehouse: pq: there is no unique or exclusion constraint matching the ON CONFLICT specification
Please take a look.