-
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
83303: sql/seqexpr: Remove dep from seqexpr to builtin r=Xiang-Gu a=Xiang-Gu `seqexpr` package is a low level package that manipulates sequence expressions and we do not want it to depend on the "heavy" package `builtins`. To break this dependency, we had two commits for this PR: 1. Created a new package `builtinconstants` and moved all constants used in the builtin package there. 2. We plumbed in the only function call from the `builtins` package in `seqexpr` to remove the dependency from seqexpr to builtins. Finally, we added a bazel rule in seqexpr/BUILD.bazel to disallow dependency to builtins Release note: None 83451: sql: rename `oldest_query_start` column in sessions table r=xinhaoz a=xinhaoz Closes #80676 Previously, the `oldest_query_start` column in the cluster and node sessions tables was misleadingly named. The column implies that it contains the time at which the oldest query in a session was started. This column is actually the time at which the session's currently active query started. This commit renames `oldest_query_start` to `active_query_start` to more accurately represent the column data. Release note (sql change): `oldest_query_start` in the `crdb_internal.cluster_sessions` and `crdb_internal.node_sessions` has been renamed to `active_query_start`, as this column contains the time at which the currently active query was started, not the time at which the session's first query was started. 83517: sql/schemachanger/scexec: remove debug log line r=ajwerner a=ajwerner This just merged by mistake. Release note: None 83562: rowexec: fix recent bug of using nil context r=yuzefovich a=yuzefovich In e7e724e we moved the creation of a monitor for the streamer's disk usage into the constructor of the join reader but forgot to update the context used during that operation. The thing is that the context on the processors is only set in `Start` meaning it is `nil` in the construct of the processor. This commit fixes the issue. Fixes: #83367 Release note: None 83594: kvstreamer: add more observability r=yuzefovich a=yuzefovich This commit adds the following statistics about the streamer: - number of Enqueue calls - number of enqueued requests - number of single-range enqueue requests - number of issued BatchRequests (which is also exposed on EXPLAIN ANALYZE) - number of resume BatchRequests - number of resume single-range requests - number of spilled results - number of empty batch responses - number of dropped batch responses - the final average response size. This information provides more visibility into how the streamer behaved. It is only added to the verbose logs / tracing since these are pretty low level details that would only pollute the output of EXPLAIN or something like that. Fixes: #82156. Release note: None 83602: sql/syntheticprivilege: remove BUILD.bazel cruft r=ajwerner a=ajwerner This was added as part of the rename. Release note: None Co-authored-by: Xiang Gu <xiang@cockroachlabs.com> Co-authored-by: Xin Hao Zhang <xzhang@cockroachlabs.com> Co-authored-by: Andrew Werner <awerner32@gmail.com> Co-authored-by: Yahor Yuzefovich <yahor@cockroachlabs.com>
- Loading branch information
Showing
44 changed files
with
550 additions
and
405 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
Oops, something went wrong.