-
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.
70466: sql: fix EXPLAIN (VEC) in some cases r=yuzefovich a=yuzefovich This commit fixes the incorrect order of `Close` and `Release` operations which are executed as part of `EXPLAIN (VEC)` implementation. The reversed incorrect order (releasing before closing) has been present since the feature was introduced, but until 21.2 it wasn't causing issues. In 21.2 time frame we introduce `OpWithMetaInfo` struct which upon its `Release` method nils out all `Closer`s, so when closing the input tree to the `explainVecNode` we now can hit a nil pointer crash. The issue is fixed by delaying the release until after all things have been closed. Fixes: #70438. Release note (bug fix): Previously, `EXPLAIN (VEC)` on some queries could lead to a crash. The bug has been present only in 21.2 testing releases. 70498: cli: add system.settings to debug zip r=ajwerner a=ajwerner This is handy to figure out whether a setting was explicitly set. It may not be as elegant as annotating crdb_internal.cluster_settings, but it is simple, backwards compatible, and something. Probably resolves #59673. Release note (ops change): cockroach debug zip will now include the raw system.settings table. This table makes it possible to determine whether a cluster settings has been explicitly set. 70501: backupccl: unskip TestRestoreOldVersions r=adityamaru a=jbowens This test was skipped because of #70154. Although we saw two recent failures, we do expect this to be very infrequent and a long-existing bug that may affect any unit test with an engine. There's no need to keep this test skipped until we resolve it. Release note: None Co-authored-by: Yahor Yuzefovich <[email protected]> Co-authored-by: Andrew Werner <[email protected]> Co-authored-by: Jackson Owens <[email protected]>
- Loading branch information
Showing
13 changed files
with
60 additions
and
11 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
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
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