forked from cockroachdb/cockroach
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
126323: sql: declare sessiondatapb.QoSLevel variables in one place r=xinhaoz a=xinhaoz When we set the QualityOfService in the session data for an internal executor, we must provide a pointer to a sessiondatapb.QoSLevel. Since the QoS levels are defined as constants, we can't take their address. This commit does a little cleanup by defining the variables versions of these consts in a singular place. Epic: none Release note: None 126425: roachtest: default to us-central1 when using ARM64 r=HerkoLategan,srosenberg a=renatolabs Previously, the GCE implementation would choose a random zone in the `us-east1` region. However, T2A VMs are not available in those zones. As a result, the test runner would always fall back to n2 instances in those cases. In other words, unless the test went out of its way to specify a custom GCE zone that happened to support T2A instances, we would never test ARM64 builds on GCE. In this commit, we change the default set of zones to take the desired architecture into account. Epic: none Release note: None Co-authored-by: Xin Hao Zhang <[email protected]> Co-authored-by: Renato Costa <[email protected]>
- Loading branch information
Showing
5 changed files
with
23 additions
and
17 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