Skip to content

Commit

Permalink
v21.1.0-rc.1 release notes (#10481)
Browse files Browse the repository at this point in the history
* v21.1.0-rc.1 release notes
  • Loading branch information
ericharmeling authored May 5, 2021
1 parent f48dfb5 commit 34b94b4
Show file tree
Hide file tree
Showing 4 changed files with 72 additions and 4 deletions.
6 changes: 3 additions & 3 deletions _config_base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,10 @@ release_info:
start_time: 2021-04-23 11:01:26.34274101 +0000 UTC
version: v20.2.8
v21.1:
build_time: 2021/4/29 11:00:26 (go1.15.5)
build_time: 2021/5/5 11:00:26 (go1.15.5)
docker_image: cockroachdb/cockroach-unstable
name: v21.1.0
start_time: 2021-4-29 11:01:26.34274101 +0000 UTC
version: v21.1.0-beta.5
start_time: 2021-5-5 11:01:26.34274101 +0000 UTC
version: v21.1.0-rc.1
site_title: CockroachDB Docs
url: https://www.cockroachlabs.com
2 changes: 2 additions & 0 deletions _data/releases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,8 @@
no_windows: true
- title: Testing releases
releases:
- date: May 5, 2021
version: v21.1.0-rc.1
- date: Apr 29, 2021
version: v21.1.0-beta.5
- date: Apr 19, 2021
Expand Down
3 changes: 2 additions & 1 deletion _includes/sidebar-releases.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,8 @@
"/releases/v21.1.0-beta.2.html",
"/releases/v21.1.0-beta.3.html",
"/releases/v21.1.0-beta.4.html",
"/releases/v21.1.0-beta.5.html"
"/releases/v21.1.0-beta.5.html",
"/releases/v21.1.0-rc.1.html"
]
},
{
Expand Down
65 changes: 65 additions & 0 deletions releases/v21.1.0-rc.1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
---
title: What's New in v21.1.0-rc.1
toc: true
summary: Additions and changes in CockroachDB version v21.1.0-rc.1 since version v21.1.0-beta.5
---

## May 05, 2021

Get future release notes emailed to you:

{% include marketo.html %}


### Downloads

<div id="os-tabs" class="filters clearfix">
<a href="https://binaries.cockroachdb.com/cockroach-v21.1.0-rc.1.linux-amd64.tgz"><button id="linux" class="filter-button" data-scope="linux" data-eventcategory="linux-binary-release-notes">Linux</button></a>
<a href="https://binaries.cockroachdb.com/cockroach-v21.1.0-rc.1.darwin-10.9-amd64.tgz"><button id="mac" class="filter-button" data-scope="mac" data-eventcategory="mac-binary-release-notes">Mac</button></a>
<a href="https://binaries.cockroachdb.com/cockroach-v21.1.0-rc.1.windows-6.2-amd64.zip"><button id="windows" class="filter-button" data-scope="windows" data-eventcategory="windows-binary-release-notes">Windows</button></a>
<a href="https://binaries.cockroachdb.com/cockroach-v21.1.0-rc.1.src.tgz"><button id="source" class="filter-button" data-scope="source" data-eventcategory="source-release-notes"></a>
</div>

<section class="filter-content" data-scope="windows">
{% include windows_warning.md %}
</section>

### Docker image

{% include copy-clipboard.html %}
~~~shell
$ docker pull cockroachdb/cockroach-unstable:v21.1.0-rc.1
~~~


### SQL language changes

- CockroachDB no longer allows [`ADD REGION`](../v21.1/add-region.html) or `DROP REGION` statements if a [`REGIONAL BY ROW`](../v21.1/multiregion-overview.html) table has index changes underway, or if a table is transitioning to or from `REGIONAL BY ROW`. [#64255][#64255]
- CockroachDB now prevents index modification on `REGIONAL BY ROW` tables and locality to or from `REGIONAL BY ROW` changes while an `ADD REGION` or `DROP REGION` statement is being executed. [#64255][#64255]

### Bug fixes

- Fixed a scenario in which a rapid sequence of [range splits](../v21.1/architecture/distribution-layer.html#range-splits) could trigger a storm of [Raft snapshots](../v21.1/architecture/replication-layer.html#snapshots). This would be accompanied by log messages of the form "would have dropped incoming MsgApp, but allowing due to ..." and tended to occur as part of [`RESTORE`](../v21.1/restore.html)/[`IMPORT`](../v21.1/import.html) operations. [#64202][#64202]
- Read-write contention on [`GLOBAL` tables](../v21.1/multiregion-overview.html) no longer has a potential to thrash without making progress. [#64215][#64215]
- Previously, if a [`DROP INDEX`](../v21.1/drop-index.html) failed during a `REGIONAL BY ROW` transition, the index could have been re-inserted back into the `REGIONAL BY ROW` table but would be invalid if it was [hash-sharded](../v21.1/hash-sharded-indexes.html) or [partitioned](../v21.1/multiregion-overview.html). This bug is now fixed. [#64255][#64255]
- Fixed a rare bug present in [v21.1 beta versions](index.html#testing-releases) that could cause rapid range splits and merges on a `GLOBAL` table to lead to a stuck leaseholder replica. The situation is no longer possible. [#64304][#64304]
- Fixed a bug in previous v21.1 beta versions that allowed the store rebalancer to spuriously down-replicate a range during normal operation. [#64303][#64303]
- CockroachDB now prevents some out-of-memory conditions caused by [schema change](../v21.1/online-schema-changes.html) validations concurrent with other high-memory-use queries. [#64307][#64307]
- Fixed a bug present since [v21.1.0-alpha.1](v21.1.0-alpha.1.html) that could cause cascading [`DELETE`](../v21.1/delete.html)s with [subqueries](../v21.1/subqueries.html) to error. [#64278][#64278]
- Fixed a bug that caused store information to be incorrectly redacted from the [CockroachDB logs](../v21.1/debug-and-error-logs.html), when logging was configured with redaction. [#64338][#64338]
- Previously, the remote flows of execution in the [vectorized engine](../v21.1/vectorized-execution.html) could take a long time to shut down if a node participating in the plan died. This bug is now fixed. [#64219][#64219]

### Contributors

This release includes 14 merged PRs by 14 authors.

[#64202]: https://github.com/cockroachdb/cockroach/pull/64202
[#64215]: https://github.com/cockroachdb/cockroach/pull/64215
[#64219]: https://github.com/cockroachdb/cockroach/pull/64219
[#64255]: https://github.com/cockroachdb/cockroach/pull/64255
[#64278]: https://github.com/cockroachdb/cockroach/pull/64278
[#64303]: https://github.com/cockroachdb/cockroach/pull/64303
[#64304]: https://github.com/cockroachdb/cockroach/pull/64304
[#64307]: https://github.com/cockroachdb/cockroach/pull/64307
[#64338]: https://github.com/cockroachdb/cockroach/pull/64338

0 comments on commit 34b94b4

Please sign in to comment.