-
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.
92283: roachtest: remove leftover comment r=andreimatei a=andreimatei This comment used to be associated with a minVersion: "v19.2.0" setting, which dissapeared in the meantime. Release note: None Epic: None 92301: row: clean up fetchers r=yuzefovich a=yuzefovich This commit performs a bunch of miscellaneous cleanups around the different fetcher objects in the `row` package. The following changes are made: - `SpanKVFetcher` has been renamed into `KVProvider` to better indicate its purpose (of supplying a given set of KVs to the fetcher machinery). - relatedly, `StartScanFrom` method has been renamed to `ConsumeKVProvider` since the former is only used with the `KVProvider` as an argument (with the corresponding change to the signature too). - we no longer track the "number of batch requests issued" when using the `KVProvider` since there aren't any and the callers don't actually need this info. Still, to be safe this commit adds an additional check to `row.Fetcher.GetBatchRequestsIssued`. - `singleKVFetcher` previously used for decoding a single KV for error messages has been removed and its usage replaced with the `KVProvider`. - `BackupSSTKVFetcher` is deleted entirely. This hasn't been used as of 3caed9e. - `StartScanFrom` method has been removed from `rowFetcher` interface since the processors don't need it. - `rowFetcherStatCollector` now directly embeds `row.Fetcher` allowing it to just "inherit" different methods that don't require any instrumentation. Epic: None Release note: None Co-authored-by: Andrei Matei <[email protected]> Co-authored-by: Yahor Yuzefovich <[email protected]>
- Loading branch information
Showing
11 changed files
with
72 additions
and
248 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.