Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

debug/doctor: A binary from 23.1 cannot read the jobs table for the doctor command #104352

Closed
fqazi opened this issue Jun 5, 2023 · 0 comments
Closed
Assignees
Labels
C-bug Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior. T-sql-foundations SQL Foundations Team (formerly SQL Schema + SQL Sessions)

Comments

@fqazi
Copy link
Collaborator

fqazi commented Jun 5, 2023

The debug doctor command when run against a 22.2 live cluster cannot read the contents of the
jobs table since data is stored across multiple tables now. To address this the doctor command should
fall back if we don't see the 23.1 format.

Jira issue: CRDB-28486

@fqazi fqazi added the C-bug Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior. label Jun 5, 2023
@fqazi fqazi self-assigned this Jun 5, 2023
@blathers-crl blathers-crl bot added the T-sql-foundations SQL Foundations Team (formerly SQL Schema + SQL Sessions) label Jun 5, 2023
fqazi added a commit to fqazi/cockroach that referenced this issue Jun 9, 2023
Previously, the CLI debug doctor command was updated to be
able to read the crdb_internal.system_jobs. This table
doesn't exist on older releases, so the doctor command
could only be run against the latest releases. To address,
this patch adds support for running doctor against
different releases.

Epic: none
Fixes: cockroachdb#104352
Releases note (bug fix): Fixed a bug that prevented
debug doctor from running against older versions of
Cockroach.
@craig craig bot closed this as completed in 4975ede Jun 13, 2023
blathers-crl bot pushed a commit that referenced this issue Jun 13, 2023
Previously, the CLI debug doctor command was updated to be
able to read the crdb_internal.system_jobs. This table
doesn't exist on older releases, so the doctor command
could only be run against the latest releases. To address,
this patch adds support for running doctor against
different releases.

Epic: none
Fixes: #104352
Releases note (bug fix): Fixed a bug that prevented
debug doctor from running against older versions of
Cockroach.
fqazi added a commit that referenced this issue Jun 26, 2023
Previously, the CLI debug doctor command was updated to be
able to read the crdb_internal.system_jobs. This table
doesn't exist on older releases, so the doctor command
could only be run against the latest releases. To address,
this patch adds support for running doctor against
different releases.

Epic: none
Fixes: #104352
Releases note (bug fix): Fixed a bug that prevented
debug doctor from running against older versions of
Cockroach.
fqazi added a commit that referenced this issue Jun 27, 2023
Previously, the CLI debug doctor command was updated to be
able to read the crdb_internal.system_jobs. This table
doesn't exist on older releases, so the doctor command
could only be run against the latest releases. To address,
this patch adds support for running doctor against
different releases.

Epic: none
Fixes: #104352
Releases note (bug fix): Fixed a bug that prevented
debug doctor from running against older versions of
Cockroach.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior. T-sql-foundations SQL Foundations Team (formerly SQL Schema + SQL Sessions)
Projects
None yet
Development

No branches or pull requests

1 participant