Updates to 21.1 session variables #10237
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR adds the following session variables:
locality
(added to 21.1, 20.2, and 20.1; not sure why this was left out in previous releases)default_transaction_use_follower_reads
(related to sql: introduce connection/session variable to enable follower reads #9584; will introduce follow-up PR)enable_drop_enum_value
(related to release-21.1: sql: moveALTER TYPE ... DROP VALUE
behind a feature flag #10137)Note the following session variables, which exist in v21.1.0-beta.2, but remain undocumented:
disable_partially_distributed_plans
(for internal testing - no docs need; sql: some changes around experimental distsql planning cockroach#50903)override_multi_region_zone_config
(not sure if we need docs for this @rmloveland; release-21.1: sql: Change to using a session variable instead of FORCE syntax for overriding zone configuration settings for MR databases and tables cockroach#62119, sql: Require FORCE to modify protected zone config fields #10131)testing_vectorize_inject_panics
(for internal testing - no docs need; roachtest: temporarily omit testing setting in sqlsmith cockroach#55516)enable_experimental_stream_replication
(not sure if we need docs for this @jseldess ; streamingccl: add experimental setting to guard the replication features #10110; streamingccl: add experimental setting to guard the replication features cockroach#60826)experimental_distsql_planning
(we never documented this for 20.2, but I'm not sure if we need docs @yuzefovich)experimental_enable_implicit_column_partitioning
(not sure if we need docs for this @rmloveland; sql: add base functionality to create implicit index column partitioning cockroach#58521, sql: allow REGIONAL BY ROW without experimental flag cockroach#60465)experimental_enable_unique_without_index_constraints
(this needs docs @ianjevans; sql: add unique constraints to table descriptor for UNIQUE WITHOUT INDEX cockroach#57666)experimental_use_new_schema_changer
(I don't think this needs docs; cockroachdb/cockroach@c0bb7c0#diff-cac22f70970154948cf8958f45e3fb5946f5dfb71a96aac384e99ccf310119b1)Just mentioning people in this description for visibility. No response required. :)