-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
49839: roachtest: Pin pgx to 4.6.0 r=apantel a=apantel Release note: None 50255: ui,sql: add Vectorized info to statements page r=yuzefovich a=yuzefovich This commit adds a box to Statements page that displays whether the vectorized execution engine is used. Release note (admin ui change): Statements page now contains information about which execution engine is used (vectorized or not). 50286: sql: make error message for invalid id type reference better r=ajwerner a=rohany Fixes #50276. Release note (bug fix): Fix an internal error from being thrown when referencing a type that does not exist by ID. 50402: kvserver: add a timeout to getChecksum to fix a flaky test r=lunevalex a=lunevalex Fixes #48251 This change fixes an issue introduced in #49763. When a replica is being restored from a snapshot it does not compute checksums. This leads to a timeout on the whole check, resulting in a failure. A beter approach is to timeout the specific getChecksum request on a replica if we think it's not going to respond. The getChecksum() method will now wait a fraction of the whole deadline to see if a computeChecksum request is being computed and if one has not started in that time it will fail fast, instead of waiting the whole RPC deadline. We considered a number of alternative approaches, which either did not work or were unpalatable i.e. special casing LEARNER replicas in getChecksum, releasing getChecksum notify channel when we apply snapshots. Release note : NONE 50411: gcjob: skip table if descriptor doesn't exist r=lucy-zhang a=lucy-zhang Previously, the GC job would fail if a descriptor for a table to be dropped did not exist. This can happen in cases where multiple GC jobs are created for the same table, and one job deletes the table descriptor first. The existence of multiple GC jobs for the same table is itself undesirable, but it's possible when some schema change job other than the one created when dropping the table sees that the table is in the dropped state and tries to drop the table anyway. This PR mitigates the problem by skipping the table and marking it internally as GC'ed if the descriptor doesn't exist. Touches #50344. Release note (bug fix): Fixes a bug affecting some `DROP DATABASE` schema changes where multiple GC jobs are created, causing the GC job for the database to fail. GC jobs will no longer fail upon failing to find a table descriptor already deleted by a different GC job. 50502: sql: remove type annotations from computed cols in information_schema r=rafiss a=rohany Fixes #50499. No release note since this was introduced this release. Release note: None 50547: tree: add a case for enums in AsJSON r=otan a=rohany Fixes #50524. This commit fixes an assertion failure by adding a case for enum types in the `tree.AsJSON` function. Release note: None Co-authored-by: Adam Pantel <adam@cockroachlabs.com> Co-authored-by: Yahor Yuzefovich <yahor@cockroachlabs.com> Co-authored-by: Rohan Yadav <rohany@alumni.cmu.edu> Co-authored-by: Alex Lunev <alexl@cockroachlabs.com> Co-authored-by: Lucy Zhang <lucy-zhang@users.noreply.github.com>
- Loading branch information
Showing
27 changed files
with
496 additions
and
146 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.