cockroachdb / cockroach

CockroachDB — the cloud native, distributed SQL database designed for high availability, effortless scale, and control over data placement.
https://www.cockroachlabs.com
Other
29.84k stars 3.77k forks source link

cli: workload --data-loader=AUTO may use IMPORT when it's not available #94136

Open tbg opened 1 year ago

tbg commented 1 year ago

See https://github.com/cockroachdb/cockroach/pull/94135.

The workload CLI has no way to discover which workloads are bundled with the CRDB binary (which is not local), so it can happen that ./workload init will fail as a result and --data-loader=INSERT has to be passed manually.

This isn't a huge deal since the popular workloads are bundled, but it's annoying.

More context: https://cockroachlabs.slack.com/archives/C023S0V4YEB/p1671712525326569

Jira issue: CRDB-22705

blathers-crl[bot] commented 1 year ago

cc @cockroachdb/test-eng