-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
62537: sql/sem/builtins: reword follower_read_timestamp notices r=andreimatei a=andreimatei The use of follower_read_timestamp() uses notices when either the binary is non-CCL or when it is CCL but there's no enterprise license activated. The notices were confusing: the non-CCL one had bad grammar and talked about the timestamp returned and how it's "less likely" to result in a follower read. The no license one had the wrong order for arguments resulting in a mangled message. Both of them were trying to narrowly refer to what the function returns and missing the bigger point - which is that routing to followers is disabled when there's no license. Now they read: NOTICE: follower reads disabled because you are running a non-CCL distribution NOTICE: follower reads disabled: use of follower reads requires an enterprise license. see https://cockroachlabs.com/pricing?cluster=5a077685-de30-496e-9804-77fa9cd60eb9 for details on how to enable enterprise features Release note: None 62540: kvclient: add metrics for txns with condensed intents r=andreimatei a=andreimatei Two new metrics - txn.condensed_intent_spans and txn.condensed_intent_spans_gauge - tracking transactions whose intent spans have been collapsed with a loss of fidelity because the respective transaction has exceeded kv.transaction.max_intents_bytes. Such transactions are a potential source of instability because resolving their intents might cost significant CPU (and also latency => contention footprint). Also new logging aiming aiming to provide the IDs of some such transactions. Release note: None Co-authored-by: Andrei Matei <[email protected]>
- Loading branch information
Showing
9 changed files
with
228 additions
and
174 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
Oops, something went wrong.