-
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.
*: give better name to certain cluster settings
The following settings have been renamed so they group together under a common prefix: | Previous name | New name | |--------------------------------------------------------------|--------------------------------------------------------| | `tenant_external_io_default_bytes_allowed_before_accounting` | `tenant_cost_control.external_io.byte_usage_allowance` | | `tenant_external_io_ru_accounting_mode` | `tenant_cost_control.external_io.ru_accounting_mode` | | `tenant_cost_control_period` | `tenant_cost_control.token_request_period` | | `tenant_cpu_usage_allowance` | `tenant_cost_control.cpu_usage_allowance` | | `tenant_usage_instance_inactivity` | `tenant_cost_control.instance_inactivity.timeout` | Similarly: | Previous name | New name | |---------------------------------------------------------------------|-------------------------------------------------------------------| | `sql.multi_region.allow_abstractions_for_secondary_tenants.enabled` | `sql.virtual_cluster.feature_access.multiregion.enabled` | | `sql.zone_configs.allow_for_secondary_tenant.enabled` | `sql.virtual_cluster.feature_access.zone_configs.enabled` | | `sql.split_at.allow_for_secondary_tenant.enabled` | `sql.virtual_cluster.feature_access.manual_range_split.enabled` | | `sql.scatter.allow_for_secondary_tenant.enabled` | `sql.virtual_cluster.feature_access.manual_range_scatter.enabled` | The following setting have been renamed because they are not specific to multi-tenancy: | Previous name | New name | |-------------------------------------------------|-----------------------------------------------------------| | `sql.tenant_ru_estimation.enabled` | `sql.explain_analyze.include_ru_estimation.enabled` | | `server.secondary_tenants.redact_trace.enabled` | `trace.redact_traces_at_virtual_cluster_boundary.enabled` | | `server.secondary_tenants.authorization.mode` | `server.virtual_cluster_authorization.mode` | | `spanconfig.tenant_coalesce_adjacent.enabled` | `spanconfig.range_coalescing.application.enabled` | | `spanconfig.storage_coalesce_adjacent.enabled` | `spanconfig.range_coalescing.system.enabled` | | `spanconfig.tenant_limit` | `spanconfig.virtual_cluster.max_spans` | The following have been renamed to e-emphasize "tenants" and for coherence with the use of the key `cluster` in SQL and HTTP requests: | Previous name | New name | |----------------------------------------------------------|------------------------------------------------------------------| | `server.controller.default_tenant` | `server.controller.default_target_cluster` | | `server.controller.default_tenant.check_service.enabled` | `server.controller.default_target_cluster.check_service.enabled` | The following has been renamed for coherence with the SQL syntax: | Previous name | New name | |--------------------------------------|-----------------------------------------------| | `sql.create_tenant.default_template` | `sql.create_virtual_cluster.default_template` | The following settings are also now marked as non-public, since they were not meant for use by end-users yet: - `server.controller.default_tenant` - `trace.redact_traces_at_virtual_cluster_boundary.enabled` - `admission.kv.tenant_weights.enabled` - `admission.kv.stores.tenant_weights.enabled` Release note (cli change): The following cluster settings have been renamed. The previous names are available for backward-compatibility. | Previous name | New name | |------------------------------------------------|---------------------------------------------------| | `spanconfig.tenant_coalesce_adjacent.enabled` | `spanconfig.range_coalescing.application.enabled` | | `spanconfig.storage_coalesce_adjacent.enabled` | `spanconfig.range_coalescing.system.enabled` |
- Loading branch information
Showing
94 changed files
with
244 additions
and
216 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
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
2 changes: 1 addition & 1 deletion
2
pkg/ccl/logictestccl/testdata/logic_test/global_placement_restricted
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
2 changes: 1 addition & 1 deletion
2
pkg/ccl/logictestccl/testdata/logic_test/multi_region_alter_table_regional_by_row
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
2 changes: 1 addition & 1 deletion
2
pkg/ccl/logictestccl/testdata/logic_test/multi_region_default_primary_region
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
2 changes: 1 addition & 1 deletion
2
pkg/ccl/logictestccl/testdata/logic_test/multi_region_drop_region
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
2 changes: 1 addition & 1 deletion
2
pkg/ccl/logictestccl/testdata/logic_test/multi_region_foreign_key_lookup_join
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
2 changes: 1 addition & 1 deletion
2
pkg/ccl/logictestccl/testdata/logic_test/multi_region_import_export
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
2 changes: 1 addition & 1 deletion
2
...cl/logictestccl/testdata/logic_test/multi_region_locality_optimized_search_query_behavior
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
2 changes: 1 addition & 1 deletion
2
pkg/ccl/logictestccl/testdata/logic_test/multi_region_privileges
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
2 changes: 1 addition & 1 deletion
2
pkg/ccl/logictestccl/testdata/logic_test/multi_region_query_behavior
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
2 changes: 1 addition & 1 deletion
2
pkg/ccl/logictestccl/testdata/logic_test/multi_region_remote_access_error
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
4 changes: 2 additions & 2 deletions
4
...l/logictestccl/testdata/logic_test/multi_region_secondary_tenants_abstractions_disallowed
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 |
---|---|---|
@@ -1,10 +1,10 @@ | ||
# LogicTest: multiregion-9node-3region-3azs-tenant | ||
|
||
statement error pq: setting sql.multi_region.allow_abstractions_for_secondary_tenants.enabled disallows use of multi-region abstractions | ||
statement error pq: setting sql.virtual_cluster.feature_access.multiregion.enabled disallows use of multi-region abstractions | ||
CREATE DATABASE db PRIMARY REGION "us-east1" | ||
|
||
statement ok | ||
CREATE DATABASE db | ||
|
||
statement error pq: setting sql.multi_region.allow_abstractions_for_secondary_tenants.enabled disallows use of multi-region abstractions | ||
statement error pq: setting sql.virtual_cluster.feature_access.multiregion.enabled disallows use of multi-region abstractions | ||
ALTER DATABASE db SET PRIMARY REGION "us-east-1" |
Oops, something went wrong.