-
Notifications
You must be signed in to change notification settings - Fork 469
v25.2 GA #19597
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
+457
−112
Merged
v25.2 GA #19597
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
4eb0901
Add initial, unconfirmed cluster setting change output
mikeCRL bf3099b
Add 25.2.0 file and features needing finalization
mikeCRL 97fdeda
Update stable and cloud versions
mikeCRL 72615d5
Update releases.yml
mikeCRL cedc68f
Update versions.csv major-version data
mikeCRL d97ae1c
Updates to releases/index.md
mikeCRL ba6530e
Temporarily change to today's date for preview
mikeCRL 8c89ba1
Remove outdated licensing note
mikeCRL 0cde481
Fix link to use stable version
mikeCRL a778efd
Add to Cloud Release Notes
mikeCRL 69f87ab
Add cluster setting changes, deprecations, cloud RN
mikeCRL ff7cc32
Add feature highlights
mikeCRL 3d91beb
Fix links
mikeCRL f59a973
Fix markdown links
mikeCRL 5c5b011
Fix release page and add backward incompatible changes
mikeCRL e0cb314
Fix asterisks/key
mikeCRL 4f2747d
Fix links
mikeCRL d3736d1
Fix backward incompatible changes
mikeCRL 8d3bc34
Fix link
mikeCRL f207480
Merge branch 'main' into v25.2-GA
mikeCRL 4f24274
Edits from review
mikeCRL File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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,7 +1,7 @@ | ||
baseurl: /docs | ||
current_cloud_version: v25.1 | ||
current_cloud_version: v25.2 | ||
destination: _site/docs | ||
homepage_title: CockroachDB Docs | ||
versions: | ||
stable: v25.1 | ||
dev: v25.2 | ||
stable: v25.2 | ||
dev: v25.2 |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
40 changes: 9 additions & 31 deletions
40
src/current/_includes/releases/v25.2/backward-incompatible.md
This file contains hidden or 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,33 +1,11 @@ | ||
Before [upgrading to CockroachDB v25.1]({% link v25.1/upgrade-cockroach-version.md %}), be sure to review the following backward-incompatible changes, as well as [key cluster setting changes](#v25-1-0-cluster-settings), and adjust your deployment as necessary. | ||
Before [upgrading to CockroachDB v25.2]({% link v25.2/upgrade-cockroach-version.md %}), be sure to review the following backward-incompatible changes, as well as [key cluster setting changes](#v25-2-0-cluster-settings), and adjust your deployment as necessary. | ||
|
||
- Bullet | ||
- The default value of the `autocommit_before_ddl` session variable is now `true`. This will cause any schema change statement that is sent during a transaction to make the current transaction commit before executing the schema change in a separate transaction. Users who do not want the autocommit behavior can preserve the previous behavior by changing the default value of `autocommit_before_ddl` with: `ALTER ROLE ALL SET autocommit_before_ddl = false;`. [#139871] | ||
- `DROP INDEX` can now only be run when `sql_safe_updates` is set to `false`. [#139456] | ||
- Vector indexes do not support mutation while being created with `CREATE INDEX` or rebuilt with `ALTER PRIMARY KEY`. To prevent inadvertent application downtime, set the `sql_safe_updates` session setting to `false` when using `CREATE INDEX` or `ALTER PRIMARY KEY` with a vector index. [#144601] | ||
- The variable arguments of polymorphic built-in functions (e.g., `concat`, `num_nulls`, `format`, `concat_ws`, etc.) no longer need to have the same type, matching PostgreSQL behavior. As a result, CockroachDB's type inference engine will no longer be able to infer argument types in some cases where it previously could, and there is a possibility that CockroachDB applications will encounter new errors. The new session variable `use_pre_25_2_variadic_builtins` restores the previous behavior (and limitations). [#144600] | ||
|
||
- Bullet | ||
|
||
- Bullet | ||
|
||
- Bullet | ||
|
||
- Bullet | ||
- Removed `sql.schema_changer.running`, which is redundant with `jobs.schema_change.currently_running`. | ||
- Removed `sql.schema_changer.successes`, which is redundant with `jobs.schema_change.resume_completed`. | ||
- Removed `sql.schema_changer.retry_errors`, which is redundant with `jobs.schema_change.resume_retry_error`. | ||
- Removed `sql.schema_changer.permanent_errors`, which is redundant with `jobs.schema_change.resume_failed`. | ||
|
||
- Bullet | ||
|
||
This change is being made because CockroachDB does not have full support for multiple schema changes in a transaction, as described [here]({% link v25.1/online-schema-changes.md %}#schema-changes-within-transactions). | ||
|
||
Users who do not desire the autocommit behavior can preserve the old behavior by changing the default value of `autocommit_before_ddl` with a command such as: | ||
|
||
``` ALTER ROLE ALL SET autocommit_before_ddl = false; ``` | ||
|
||
[#][#] | ||
|
||
|
||
[#]: https://github.com/cockroachdb/cockroach/pull/ | ||
[#]: https://github.com/cockroachdb/cockroach/pull/ | ||
[#]: https://github.com/cockroachdb/cockroach/pull/ | ||
[#]: https://github.com/cockroachdb/cockroach/pull/ | ||
[#]: https://github.com/cockroachdb/cockroach/pull/ | ||
[#]: https://github.com/cockroachdb/cockroach/pull/ | ||
[#139871]: https://github.com/cockroachdb/cockroach/pull/139871 | ||
[#139456]: https://github.com/cockroachdb/cockroach/pull/139456 | ||
[#144601]: https://github.com/cockroachdb/cockroach/pull/144601 | ||
[#144600]: https://github.com/cockroachdb/cockroach/pull/144600 |
52 changes: 9 additions & 43 deletions
52
src/current/_includes/releases/v25.2/cluster-setting-changes.md
This file contains hidden or 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,49 +1,15 @@ | ||
Changes to [cluster settings]({% link v25.1/cluster-settings.md %}) should be reviewed prior to upgrading. New default cluster setting values will be used unless you have manually set a value for a setting. This can be confirmed by running the SQL statement `SELECT * FROM system.settings` to view the non-default settings. | ||
Changes to [cluster settings]({% link v25.2/cluster-settings.md %}) should be reviewed prior to upgrading. New default cluster setting values will be used unless you have manually set a value for a setting. This can be confirmed by running the SQL statement `SELECT * FROM system.settings` to view the non-default settings. | ||
|
||
- Bullet | ||
- Bullet | ||
- Bullet | ||
- Bullet | ||
- Bullet | ||
<h5 id="v25-2-0-settings-added">Settings added</h5> | ||
|
||
<h5 id="v25-1-0-settings-added">Settings added</h5> | ||
- `feature.vector_index.enabled` - Set to `TRUE` to enable vector indexes. Default is `FALSE` (not enabled). | ||
- `server.child_metrics.include_aggregate.enabled` - When `TRUE`, reports both aggregate and child Prometheus metrics, which can be helpful for quick top-level insights or backward compatibility, but should be disabled if you’re seeing inflated values in Prometheus queries due to double counting. Defaults to `TRUE`. | ||
- `ui.default_timezone` - Allows you to set the time zone for displayed timestamps in the DB Console. (Refer to [DB Console timezone configuration]({% link v25.2/ui-overview.md %}#db-console-timezone-configuration).) Replaces the deprecated [`ui.display_timezone` cluster setting]({% link v25.2/cluster-settings.md %}#setting-ui-display-timezone). If that value had been set, it will automatically be applied to the new setting `ui.default_timezone`, which takes precedence. | ||
- `server.oidc_authentication.provider.custom_ca` - Supports a custom root CA for verifying certificates while authenticating with an OIDC provider. | ||
- `sql.stats.automatic_full_collection.enabled` - It is now possible to automatically collect partial table statistics, but disable automatic collection of full table statistics. To do so, change this setting to `FALSE`. It defaults to `TRUE`. In addition to this cluster setting, you can use the table setting `sql_stats_automatic_full_collection_enabled`. | ||
|
||
- Bullet | ||
|
||
- Bullet | ||
|
||
- Bullet | ||
|
||
- Bullet | ||
|
||
<h5 id="v25-1-0-settings-with-changed-defaults">Settings with changed defaults</h5> | ||
|
||
- Bullet | ||
|
||
- Bullet | ||
|
||
- Bullet | ||
|
||
- Bullet | ||
|
||
<h5 id="v25-1-0-settings-with-changed-visibility">Settings with changed visibility</h5> | ||
<h5 id="v25-2-0-settings-with-changed-visibility">Settings with changed visibility</h5> | ||
|
||
The following settings are now marked `public` after previously being `reserved`. Reserved settings are not documented and their tuning by customers is not supported. | ||
|
||
- Bullet | ||
|
||
<h5 id="v25-1-0-renamed-settings">Renamed settings</h5> | ||
|
||
- Bullet | ||
|
||
- Bullet | ||
|
||
<h5 id="v25-1-0-additional-cluster-setting-changes">Additional setting changes</h5> | ||
|
||
- Bullet | ||
|
||
- Bullet | ||
|
||
- Bullet | ||
|
||
- Bullet | ||
- `sql.stats.detailed_latency_metrics.enabled` - Percentile latencies are no longer available for **SQL Activity**. The implementation of these percentiles was error-prone and difficult to understand because it was computed differently from the other SQL statistics collected. Customers interested in viewing percentile latencies per statement fingerprint are encouraged to use the experimental per-fingerprint histograms that can be enabled with the `sql.stats.detailed_latency_metrics.enabled` cluster setting. This will enable externalized histogram metrics via the Prometheus scrape endpoint. [#139500](https://github.com/cockroachdb/cockroach/pulls/139500) |
This file contains hidden or 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,5 +1,3 @@ | ||
The following deprecations are announced in v25.1. | ||
The following deprecations are announced in v25.2. | ||
|
||
- Bullet | ||
|
||
[#]: https://github.com/cockroachdb/cockroach/pull/ | ||
- The [`ui.display_timezone` cluster setting]({% link v25.2/cluster-settings.md %}#setting-ui-display-timezone) is now deprecated and will be removed in a future release. If it has been set, its value will automatically be applied to the new setting `ui.default_timezone`, which takes precedence. For further detail, refer to [DB Console timezone configuration]({% link v25.2/ui-overview.md %}#db-console-timezone-configuration). |
This file contains hidden or 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
File renamed without changes.
12 changes: 4 additions & 8 deletions
12
src/current/_includes/releases/v25.2/upgrade-finalization.md
This file contains hidden or 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,9 +1,5 @@ | ||
During a major-version upgrade, certain features and performance improvements may not be available until the upgrade is finalized. In v25.1, these are: | ||
During a major-version upgrade, certain features and performance improvements may not be available until the upgrade is finalized. In v25.2, these are: | ||
|
||
- Bullet | ||
- Bullet | ||
- Bullet | ||
- Bullet | ||
- `SHOW JOBS` is now based on a new mechanism for storing information about the progress and status of running jobs. [#](https://github.com/cockroachdb/cockroach/pull/) | ||
- `ALTER JOB ... OWNER TO` can now be used to transfer ownership of a job between users/roles. [#](https://github.com/cockroachdb/cockroach/pull/) | ||
- Users can now always see and control (pause/resume/cancel) jobs that they own. [#](https://github.com/cockroachdb/cockroach/pull/) | ||
- Row-level security | ||
- Creating a set-returning PL/pgSQL function | ||
- Support for the `jsonpath` data type |
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.