cockroachdb / loadgen

CockroachDB load generators
Apache License 2.0
30 stars 25 forks source link

Failed to run tpcc against latest stable build #182

Open mindbergh opened 6 years ago

mindbergh commented 6 years ago

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.