What's New in v20.2.10

Cockroach Labs will stop providing Assistance Support for this version on May 10, 2022. Prior to that date, upgrade to a more recent version to continue receiving support. For more details, see the Release Support Policy.

May 17, 2021

Get future release notes emailed to you:


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.10

SQL language changes

  • Added the INCLUDE_DEPRECATED_INTERLEAVES option to BACKUP. In v21.1, this option must be specified when backing up a cluster, database, or table that includes interleaved data. #64688
  • Added the chunk_size option to EXPORT CSV to control the target CSV file size. #65009

Command-line changes

DB Console changes

  • Implemented a new library for line graphs that renders metrics more efficiently. Customers with large clusters (above ~30 nodes) can now load and interact with the metrics dashboards much faster than before. #64493
  • A legend is now shown underneath a timeseries graph if more than 10 series are being displayed. #64493

Bug fixes

  • Fixed a race condition where read-write requests during replica removal (for example, during range merges or rebalancing) could be evaluated on the removed replica. These cases would not result in data being written to persistent storage, but could result in errors that should not have been returned. #64601
  • Fixed a stack overflow that could happen in some corner cases involving partial indexes with predicates containing (x IS NOT NULL). #64739
  • Building no longer depends on internet access. Only vendored modules are used. This bug was introduced in v20.2.0. #64507
  • Limit scans are no longer counted as full scans. #64852
  • Providing a constant value as an ORDER BY value in an ordered set aggregate, such as percentile_dist or percentile_cont, no longer errors. This bug has been present since order set aggregates were added in v20.2.0. #64903


This release includes 13 merged PRs by 14 authors. We would like to thank the following contributors from the CockroachDB community:

  • Michał Łazowik (first-time contributor)
YesYes NoNo