What's New in v2.1.7

This version of CockroachDB is no longer supported. For more details, see the Release Support Policy.

May 14, 2019

Get future release notes emailed to you:


Docker image

$ docker pull cockroachdb/cockroach:v2.1.7

Bug fixes

  • Fixed a bug in RESTORE where some unusual range boundaries in interleaved tables caused an error. #36006
  • CockroachDB now properly applies column width and nullability constraints on the result of conflict resolution in UPSERT and INSERT ON CONFLICT. #35373
  • Subtracting 0 from a JSONB array now correctly removes its first element. #35619
  • Fixed an on-disk inconsistency that could result from a crash during a range merge. #35752
  • While a cluster is unavailable (e.g., during a network partition), memory and goroutines used for authenticating connections no longer leak when the client closes said connections. #36231
  • Single column family JSONB columns are now decoded correctly. #36628
  • Fixed a rare inconsistency that could occur on overloaded clusters. #36960
  • Fixed a possible panic while recovering from a WAL on which a sync operation failed. #37214
  • Reduced the risk of data unavailability during AZ/region failure. #37336

Build changes

  • CockroachDB will provisionally refuse to build with go 1.12, as this is known to produce incorrect code inside CockroachDB. #35639
  • Release Docker images are now built on Debian 9.8. #35737


This release includes 15 merged PRs by 12 authors.

YesYes NoNo