cockroachdb / docs

CockroachDB user documentation
https://cockroachlabs.com/docs
Creative Commons Attribution 4.0 International
190 stars 460 forks source link

Performance and Benchmarking docs incorrectly add `cockroach` command to `workload debug` #17486

Closed gtr closed 11 months ago

gtr commented 1 year ago

Gerardo Torres Castro commented:

This was pointed out by a member of our community Slack.

They tried running cockroach workload debug tpcc-merge-results to debug a tpcc workload. They reference the docs which incorrectly add cockroach to the beginning of the command.

It should just be workload debug tpcc-merge-results, as that flag belongs to the standalone workload binary (built with dev build workload) and not the cockroach workload command.

Jira Issue: DOC-8356

exalate-issue-sync[bot] commented 11 months ago

linville (mdlinville) commented: I think this issue is filed in error. I ran the following command against the 23.2 binary, and it shows the {{tpcc}} workload:

{{[~/Downloads/cockroach-v23.2.0-alpha.5.darwin-11.0-arm64] $ ./cockroach workload fixtures import --}} {{help}} {{import a fixture into a running cluster. An enterprise license is NOT required.}}

{{Usage:}} {{ cockroach workload fixtures import [flags]}} {{ cockroach workload fixtures import [command]}}

{{Available Commands:}} {{ bank}} {{ bulkingest}} {{ insights}} {{ intro}} {{ kv}} {{ movr}} {{ startrek}} {{ tpcc}} {{ tpch}} {{ ttlbench}} {{ ttllogger}} {{ ycsb}}