-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
sql: New crdb_internal.jobs
columns did not get added to SHOW JOBS
#70765
Labels
C-bug
Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.
GA-blocker
T-sql-foundations
SQL Foundations Team (formerly SQL Schema + SQL Sessions)
Comments
vy-ton
added
the
C-bug
Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.
label
Sep 27, 2021
ajwerner
added a commit
to ajwerner/cockroach
that referenced
this issue
Sep 27, 2021
New columns were added to `crdb_internal.jobs` to expose retry and exponential backoff state. This commit exposes them in `SHOW JOBS`. No need for a version gate because the virtual table is local and will just populate the columns with NULL in the mixed version state. Fixes cockroachdb#70765. Release note (sql change): `SHOW JOBS` will now include the newly added columns from `crdb_internal.jobs` (`last_run`, `next_run`, `num_runs`, and `execution_errors`). The columns capture state related to retries, failures, and exponential backoff.
Hi @ajwerner, please add branch-* labels to identify which branch(es) this release-blocker affects. 🦉 Hoot! I am a Blathers, a bot for CockroachDB. My owner is otan. |
craig bot
pushed a commit
that referenced
this issue
Sep 27, 2021
70683: sql: add backward compatibility to stats and plan r=maryliag a=maryliag Previously, if a key didn't exist on a JSON payload for statement/transaction stats and plan, the decoder would return an error and the page would not load on Console. This commit changes the behaviour, returning the value as nil, so the page can continue to load normally and only that particular value would be kept as empty. Fix #70599 Release Justification: Category 2, bug fix Release note: None 70766: sql/delegate: pick up new 21.2 columns in `SHOW JOBS` r=fqazi a=ajwerner New columns were added to `crdb_internal.jobs` to expose retry and exponential backoff state. This commit exposes them in `SHOW JOBS`. No need for a version gate because the virtual table is local and will just populate the columns with NULL in the mixed version state. Fixes #70765. Release note (sql change): `SHOW JOBS` will now include the newly added columns from `crdb_internal.jobs` (`last_run`, `next_run`, `num_runs`, and `execution_errors`). The columns capture state related to retries, failures, and exponential backoff. 70769: roachprod/vm/aws: improve help text for multiple stores r=ajwerner a=ajwerner ```bash roachprod create ajwerner-test -n1 --clouds aws \ --aws-ebs-volume='{"VolumeType": "io2", "VolumeSize": 213, "Iops": 321}' \ --aws-ebs-volume='{"VolumeType": "io2", "VolumeSize": 213, "Iops": 321}' \ --aws-enable-multiple-stores=true roachprod stage ajwerner-test cockroach roachprod start ajwerner-test --store-count 2 ``` The above commands will create a node with multiple stores and start cockroach on them. Hopefully these minor help changes make that clearer. Release note: None Co-authored-by: Marylia Gutierrez <marylia@cockroachlabs.com> Co-authored-by: Andrew Werner <awerner32@gmail.com>
blathers-crl bot
pushed a commit
that referenced
this issue
Sep 27, 2021
New columns were added to `crdb_internal.jobs` to expose retry and exponential backoff state. This commit exposes them in `SHOW JOBS`. No need for a version gate because the virtual table is local and will just populate the columns with NULL in the mixed version state. Fixes #70765. Release note (sql change): `SHOW JOBS` will now include the newly added columns from `crdb_internal.jobs` (`last_run`, `next_run`, `num_runs`, and `execution_errors`). The columns capture state related to retries, failures, and exponential backoff.
exalate-issue-sync
bot
added
T-sql-foundations
SQL Foundations Team (formerly SQL Schema + SQL Sessions)
and removed
T-sql-schema-deprecated
Use T-sql-foundations instead
labels
May 10, 2023
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.
GA-blocker
T-sql-foundations
SQL Foundations Team (formerly SQL Schema + SQL Sessions)
Describe the problem
In #44594, new columns were added to
crdb_internal.jobs
as part of adding the jobs retry infrastructure. We plan to surface these changes in the DBConsole (#68179), but forgot to change the output ofSHOW JOBS
To Reproduce
Expected behavior
Maintain
crdb_internal.jobs
andSHOW JOBS
as mirrors of each otherThe text was updated successfully, but these errors were encountered: