cockroachdb / cockroachdb/cockroach
kv: LoQ tool generates an incorrect error message when executing a CockroachDB development build.
- Dominant language
- Go
- Stars
- 32.5k
- Forks
- 4.1k
- PR merge metrics
- PR metrics pending
Description
On the `drt-large` cluster, we are encountering issues with unavailable ranges due to a loss of quorum. To address this, I attempted to generate a recovery plan using the `cockroach debug` command. However, when executed with a CockroachDB development build binary, the command produces the following error
```shell
#./cockroach debug recover make-plan --host=:26257 --certs-dir certs > plan.json
ERROR: failed to retrieve replica info from cluster: unsupported cluster info version: version is too old, minimum supported 1000024.1, found 24.2-upgrading-to-24.3-step-012
Failed running "debug recover make-plan"
```
Setting environment variable `COCKROACH_TESTING_FORCE_RELEASE_BRANCH=true` and then running the command fixes the issue and a recovery plan is generated.
**Expected behaviour**
The error message should indicate that the cluster is running a development version and suggest setting the environment variable
`COCKROACH_TESTING_FORCE_RELEASE_BRANCH=true`
Jira issue: CRDB-41909
Contributor guide
Assessment
This issue has not been assessed yet.