-
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.
96904: workload: support import parallelism for multi-tenant cluster r=adityamaru a=stevendanna All nodes now produce entries in the sql_instances table, so we are able to use that table to get a node count even when running against a secondary tenant. I've kept the original query in place to support older clusters. Fixes #78968 Release note: None 97248: bulk, dashboards: fix c2c metrics and dashboards r=msbutler a=adityamaru This change fixes a few bugs around c2c metric collection and display: 1) This change fixes the unit on the c2c replication dashboard for the logical and sst byte metrics. 2) Previously, the IngestedEvents was the number of point keys in the current batch and the size of rangekeys in the batch. This has been corrected to be the sum of the number of point keys and rangekeys in the batch. 3) Previously, we were adding the running sum of the SSTDataSize to the metric tracking SST bytes, instead of only bytes ingested as a part of the current batch. This is incorrect and has been changed to only capture the number of bytes that have been ingested as part of the latest flush. 4) Callers of the SSTBatcher were making an incorrect assumption about the per batch BulkOpSummary that was exposed via the GetBatchSummary method. This per batch summary is reset whenever the SSTBatcher is reset. This reset is usually performed by the caller after a manual call to Flush. However, the batcher itself may decide to flush and reset while adding keys to the current batch thereby resetting the BulkOpSummary. So when the caller fetches the summary after the manual flush it would only contain a partial set of results that had been aggregated since the last internal flush. This change warns users against directly accessing the per batch BulkOpSummary and instead registering an OnFlush callback that is called on every successful flush of the batcher. The stream ingestion processor now updates is logical and sst bytes onFlush. Informs: #97224 Release note: None Co-authored-by: Steven Danna <[email protected]> Co-authored-by: adityamaru <[email protected]>
- Loading branch information
Showing
9 changed files
with
218 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.