-
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.
79090: kv: alter error for SET TRANSACTION AS OF SYSTEM TIME r=e-mbrown a=e-mbrown if reads or writes are already performed Resolves #77265 When a txn performed a read or write before setting up a historical timestamp a crash report was generated. This commit handles the error case. Release note: None 81860: kvserver: implement granular metrics for snapshot recovery and rebalance r=KnightAsterial a=KnightAsterial This commit adds the following new metrics - `range.snapshots.unknown.rcvd-bytes` - `range.snapshots.unknown.sent-bytes` - `range.snapshots.rebalancing.rcvd-bytes` - `range.snapshots.rebalancing.sent-bytes` - `range.snapshots.recovery.rcvd-bytes` - `range.snapshots.recovery.sent-bytes` These metrics tracks the bytes send/received for each type of snapshot (rebalance, recovery, and unknown snapshots). The sum of these three new metrics should equal the existing `range.snapshots.(sent|rcvd)-bytes` that tracks the total number of snapshot bytes sent and received. Additionally, this commit changes the `snapshotStrategy` interface such that the `Receive` and `Send` methods take `snapshotBytesMetricFn` as a parameter rather than `*metric.Counter`. Finally, this commit adds a new SendSnapshot TestingKnob that hooks into the send snapshot flow after a DelegateSnapshotRequest is handled but before any throttling or sending logic takes place. Resolves #81047 Release note (ops change): Added new 6 metrics (`range.snapshots.shapshots.(unknown|recovery|rebalancing).sent-bytes` and `range.snapshots.shapshots.(unknown|recovery|rebalancing).rcvd-bytes`) to the metrics dashboard. This will allow users to track the number of bytes sent/received for each type of metric in addition to the total bytes sent/received. 82277: authors: add surajr10 to authors r=surajr10 a=surajr10 Release note: None 82296: tests: update version check for tenant scoping r=dhartunian a=rimadeodhar This PR fixes the version gate check to add tenant scoping while creating client certs for tenant roachtests. It is erroneously gated on v22.1 when it should be v22.2. Release note: None Co-authored-by: e-mbrown <[email protected]> Co-authored-by: Ryan Zhao <[email protected]> Co-authored-by: Suraj <[email protected]> Co-authored-by: rimadeodhar <[email protected]>
- Loading branch information
Showing
17 changed files
with
482 additions
and
26 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -405,6 +405,7 @@ Steven Hand <@cockroachlabs.com> hand <@cockroachlabs.com> hand-crdb <@cockroach | |
Steven Hubbard <[email protected]> <[email protected]> | ||
Sumeer Bhola <[email protected]> sumeerbhola <[email protected]> | ||
sum12 <[email protected]> | ||
Suraj Rao <[email protected]> <[email protected]> | ||
Syd <[email protected]> | ||
Takuya Kuwahara <[email protected]> | ||
Tamir Duberstein <[email protected]> <@cockroachlabs.com> | ||
|
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.