June 28, 2021
This page lists additions and changes in v20.2.12 since version v20.2.11.
- For a comprehensive summary of features in v20.2, see the v20.2 GA release notes.
- To upgrade to v20.2, see Upgrade to CockroachDB v20.2.
Get future release notes emailed to you:
Downloads
Warning:
The CockroachDB executable for Windows is experimental and not suitable for production deployments. Windows 8 or higher is required.
Docker image
$ docker pull cockroachdb/cockroach:v20.2.12
Enterprise edition changes
- Added new
CHANGEFEED
options that give you more control over topic naming: Thefull_table_name
option lets you use a fully-qualified table name in topics, subjects, schemas, and record output instead of the default table name, and can prevent unintended behavior when the same table name is present in multiple databases. Theavro_schema_prefix
option lets you use a fully-qualified schema name for a table instead of the default table name, and makes it possible for multiple databases or clusters to share the same schema registry when the same table name is present in multiple databases. #66091 - Changefeeds with custom Kafka client configurations (using the
kafka_sink_config
object) that could lead to long delays in flushing messages will now produce an error. #66316 - The
kafka_sink_config
object now supports aversion
configuration item to specify Kafka server versions. This is likely only necessary for old (Kafka 0.11/Confluent 3.3 or earlier) Kafka servers. Additionally, settings not specified inkafka_sink_config
now retain their default values. #66316
SQL language changes
- Creating
STORED
computed columns with expressions that reference foreign key columns is now allowed. #66169
Operational changes
BACKUP
now puts backup data files in adata
sub-directory of theBACKUP
path instead of directly in the backup path. #66164
Bug fixes
- CockroachDB now prevents intra-query leaks during disk spilling that could cause the database to run out of memory, especially during disk spilling operations on tables with wide rows. #66170
- Queries now use up to 1MB less actual system memory per scan, lookup join, index join, zigzag join, or inverted join in their query plans. This will result in improved memory performance for workloads with concurrent OLAP-style queries. #66170
BACKUP
s no longer risk the possibility of blocking conflicting writes while being rate limited by thekv.bulk_io_write.concurrent_export_requests
concurrency limit. #66409BACKUP
and other operations can now reuse a previously created S3 client session when operating on the same bucket, which can avoidNoCredentialProviders
errors on EC2 when iterating with large incremental backups. #66260- Fixed a crash when performing a cluster
BACKUP
with revision history of a cluster upgraded from 20.1 to 20.2 to 21.1 which contains tables that were truncated by 20.1. #66638 - Fixed the style of the DB Console password field on Safari. #66135
Performance improvements
- The
COCKROACHDB_REGISTRY
file is no longer rewritten whenever a new unencrypted file is created. #66424
Contributors
This release includes 19 merged PRs by 17 authors.