-
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.
85282: backupccl: check crdb_internal.invalid_objects during backup test cleanup r=adityamaru a=msbutler This patch adds a test helper function to easily check for invalid descriptors during the cleanup of a test cluster created by any of the backupRestoreTestSetup* helper funcs. This setup is used by many backup unit tests (including all data driven tests), but a future PR should include this clean up helper func in any backup unit test that doesn't include use these helper funcs. It's also worth noting this check would have caught #76764. Informs #84757 Release note: none 87820: sql/schemachanger/*: optimize performance, primarily by adding support for containment r=ajwerner a=ajwerner #### screl,scplan/rule: adopt containment #### sql/schemachanger/rel: support inverted indexes and slice containment This commit introduces some new concepts to rel: * Slice attributes * Inverted indexing of slice attributes * Containment queries over slice attributes One note is that the only support for containment queries is via an inverted index. In the future, we could add direct containment evaluation such that if we have a slice we could go iterate its members. The basic idea is to introduce a slice membership type for the slice column and to use the attribute in question to refer to the slice member value. #### sql/schemachanger/rel: fix embedding support #### sql/schemachanger/rel: optimize error checking This change ends up making a huge difference. Otherwise, each subquery invocation would lead to allocations which showed up in the profiles. Fixes #86042 Release note: None 88712: sql: enable `IdempotentTombstone` for schema GC r=ajwerner a=erikgrinaker `@ajwerner` Looks like we forgot to enable this. Let's get it in before the backport freeze. --- This will avoid writing MVCC range tombstones across ranges if they don't contain any live data. This is particularly useful to avoid writing additional tombstones on retries. Release note: None Co-authored-by: Michael Butler <butler@cockroachlabs.com> Co-authored-by: Andrew Werner <awerner32@gmail.com> Co-authored-by: Erik Grinaker <grinaker@cockroachlabs.com>
- Loading branch information
Showing
73 changed files
with
1,010 additions
and
341 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
Oops, something went wrong.