-
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.
63923: changefeed,server: changefeed histograms and configurable slow logging r=stevendanna a=stevendanna See the individual commits for details. Overall, the goal of these changes is to get more information about the ongoing test failures we are seeing in cdc/ledger and cdc/cloud-sink-gcs roachtests. A number of log messages we might expect to see when the the changeFrontier is behind aren't emitted because we auto-calculate a slow logging threshold based on the closed_timestamp.target_duration setting which we are increasing in these tests. Further, the current metrics around emitting and flushing are a single counter, which is fine for many purposes because the timeseries database allows us to look at the values over time, but when trying to debug a test issue after-the-fact, the timeseries database is gone and it would be nice to have the histogram data. 63941: sql: More nuanced blocking of zone config DISCARD (as well as assorted testing) r=otan a=ajstorm See individual commits for details. 63956: opt: support correlated CTEs r=RaduBerinde a=RaduBerinde This change enables building correlated CTEs. Single-use CTEs that can be inlined will result in a query that can get decorrelated with the normal rules. If the CTE cannot be inlined, the With operator remains in place in the tree and prevents decorrelation (apply join will need to be used during execution). Fixes #42540. Release note (sql change): correlated CTEs can now be used. Co-authored-by: Steven Danna <danna@cockroachlabs.com> Co-authored-by: Adam Storm <storm@cockroachlabs.com> Co-authored-by: Radu Berinde <radu@cockroachlabs.com>
- Loading branch information
Showing
17 changed files
with
1,070 additions
and
99 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.