-
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.
68176: changefeedccl: add on_error option to pause changefeeds on failure r=spiffyyeng a=spiffyyeng Previously, changefeeds always failed when encountering a non- retryable error. This option allows the user to pause on failure and resume later, while still failing as default behavior. Release note (enterprise change): new 'on_error' option to pause on non-retryable errors instead of failing. 68249: coldataext: remove a wrapper and use tree.Datum directly r=yuzefovich a=yuzefovich **coldataext: propagate evalCtx directly for casts** This commit removes the reliance on propagating `datumVec` objects to supply the cast function with an eval context. All casts in the datum land have been refactored to use `tree.PerformCast` for simplicity. Note that the eval context is not removed from the `datumVec` because it is used by `CompareDatum` method which is a lot more common (and, thus, would require more plumbing to get rid off). Release note: None **coldataext: remove a wrapper and use tree.Datum directly** Previously, we had separate `coldataext.Datum` wrapper around `tree.Datum`. I don't remember what was the reasoning behind introducing it (probably so that we could define methods with the wrapper as the receiver in `coldataext` package), but it seems unnecessary. It also has some performance cost because on every `DatumVec.Get` we are currently allocating a new object on the heap. This commit removes the wrapper in favor of working with `tree.Datum`s directly. This work was prompted by looking at some profiles around the memory accounting for datum-backed types in the cFetcher. Release note: None 68256: changefeedccl: Add pushback duration metric to blocking buffer. r=miretskiy a=miretskiy Add a blocking buffer metric which keeps track of the amount of time waited for resource aquisition. Release Notes: None Co-authored-by: Ryan Min <[email protected]> Co-authored-by: Yahor Yuzefovich <[email protected]> Co-authored-by: Yevgeniy Miretskiy <[email protected]>
- Loading branch information
Showing
87 changed files
with
1,989 additions
and
1,348 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
Oops, something went wrong.