-
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.
119652: roachtest: assert limit capacity throughput 90% of baseline r=andrewbaptist a=kvoli This commit enables a throughput assertion on the `limit_capacity` roachtests. The assertion requires that throughput after limiting some nodes capacity is at least 90% of the pre-limit throughput after 2 minutes. Part of: #118866 Release note: None 120984: sql: alter sequence options no min, no max and as type to replicate postgreSQL r=rafiss a=andrew-delph This commit changes 'NO MINVALUE' and 'NO MAXVALUE' sequence options to replicate postgreSQL behavior. If the sequence is ascending then the NO MAXVALUE is the largest value for it int type and NO MINVALUE is 1. If the sequence is descending then the NO MAXVALUE is -1 and NO MINVALUE is the smallest value for its int type. This commit also addresses how MINVALUE and MAXVALUE are automatically changed when altering the seq int type. If either is equal to the current types limit, then it is will automatically adjsut to the changes types limits. Otherwise it will not change. Epic: None Release note (bug fix): Sequence options for 'NO MINVALUE' and 'NO MAXVALUE' now replicate postgreSQL. Sequence MINVALUE and MAXVALUE automatical adjust to new types bounds mirroring behavior of postgreSQL. 121294: pkg/sql/sqlstats: de-flake TestTransactionInsightsFailOnCommit r=dhartunian a=abarganier Fixes: #117061 Epic: none TestTransactionInsightsFailOnCommit runs two transactions, one of which is expected to fail on commit due to an isolation error as it interacts with the other transaction. We query crdb_internal.node_txn_execution_insights, which queries the in-memory insights data, to check that a txn insight was generated for the failed txn with a `FailedExecution` insight. However, when querying the crdb_internal table, the query is too broad. In the test, the successful transaction can still possibly generate a `SlowExecution` insight. In this case, when looking for the `FailedExecution` insight, we were instead getting an insight from the successful transaction. The fix is to narrow the SELECT criteria to ensure we're selecting the correct insight. The fix also expands the failed assertion logging. Release note: none Co-authored-by: Austen McClernon <[email protected]> Co-authored-by: Andrew Delph <[email protected]> Co-authored-by: Alex Barganier <[email protected]>
- Loading branch information
Showing
4 changed files
with
145 additions
and
93 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