|
| 1 | +--- |
| 2 | +title: What's New in v2.1.7 |
| 3 | +toc: true |
| 4 | +summary: Additions and changes in CockroachDB version v2.1.7 since version v2.1.6 |
| 5 | +--- |
| 6 | + |
| 7 | +## May 14, 2019 |
| 8 | + |
| 9 | +Get future release notes emailed to you: |
| 10 | + |
| 11 | +<div class="hubspot-install-form install-form-1 clearfix"> |
| 12 | + <script> |
| 13 | + hbspt.forms.create({ |
| 14 | + css: '', |
| 15 | + cssClass: 'install-form', |
| 16 | + portalId: '1753393', |
| 17 | + formId: '39686297-81d2-45e7-a73f-55a596a8d5ff', |
| 18 | + formInstanceId: 1, |
| 19 | + target: '.install-form-1' |
| 20 | + }); |
| 21 | + </script> |
| 22 | +</div> |
| 23 | + |
| 24 | +### Downloads |
| 25 | + |
| 26 | +<div id="os-tabs" class="clearfix"> |
| 27 | + <a href="https://binaries.cockroachdb.com/cockroach-v2.1.7.darwin-10.9-amd64.tgz"><button id="mac" data-eventcategory="mac-binary-release-notes">Mac</button></a> |
| 28 | + <a href="https://binaries.cockroachdb.com/cockroach-v2.1.7.linux-amd64.tgz"><button id="linux" data-eventcategory="linux-binary-release-notes">Linux</button></a> |
| 29 | + <a href="https://binaries.cockroachdb.com/cockroach-v2.1.7.windows-6.2-amd64.zip"><button id="windows" data-eventcategory="windows-binary-release-notes">Windows</button></a> |
| 30 | + <a href="https://binaries.cockroachdb.com/cockroach-v2.1.7.src.tgz"><button id="source" data-eventcategory="source-release-notes">Source</button></a> |
| 31 | +</div> |
| 32 | + |
| 33 | +### Docker image |
| 34 | + |
| 35 | +{% include copy-clipboard.html %} |
| 36 | +~~~shell |
| 37 | +$ docker pull cockroachdb/cockroach:v2.1.7 |
| 38 | +~~~ |
| 39 | + |
| 40 | +### Bug fixes |
| 41 | + |
| 42 | +- Fixed a bug in [`RESTORE`](../v2.1/restore.html) where some unusual range boundaries in [interleaved tables](../v2.1/interleave-in-parent.html) caused an error. [#36006][#36006] |
| 43 | +- CockroachDB now properly applies column width and nullability constraints on the result of conflict resolution in [`UPSERT`](../v2.1/upsert.html) and [`INSERT ON CONFLICT`](../v2.1/insert.html). [#35373][#35373] |
| 44 | +- Subtracting `0` from a [`JSONB`](../v2.1/jsonb.html) array now correctly removes its first element. [#35619][#35619] |
| 45 | +- Fixed an on-disk inconsistency that could result from a crash during a range merge. [#35752][#35752] |
| 46 | +- 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][#36231] |
| 47 | +- Single column family [`JSONB`](../v2.1/jsonb.html) columns are now decoded correctly. [#36628][#36628] |
| 48 | +- Fixed a rare inconsistency that could occur on overloaded clusters. [#36960][#36960] |
| 49 | +- Fixed a possible panic while recovering from a WAL on which a sync operation failed. [#37214][#37214] |
| 50 | +- Reduced the risk of data unavailability during AZ/region failure. [#37336][#37336] |
| 51 | + |
| 52 | +### Build changes |
| 53 | + |
| 54 | +- CockroachDB will provisionally refuse to build with go 1.12, as this is known to produce incorrect code inside CockroachDB. [#35639][#35639] |
| 55 | +- Release Docker images are now built on Debian 9.8. [#35737][#35737] |
| 56 | + |
| 57 | +### Contributors |
| 58 | + |
| 59 | +This release includes 15 merged PRs by 12 authors. |
| 60 | + |
| 61 | +[#35373]: https://github.com/cockroachdb/cockroach/pull/35373 |
| 62 | +[#35619]: https://github.com/cockroachdb/cockroach/pull/35619 |
| 63 | +[#35639]: https://github.com/cockroachdb/cockroach/pull/35639 |
| 64 | +[#35737]: https://github.com/cockroachdb/cockroach/pull/35737 |
| 65 | +[#35752]: https://github.com/cockroachdb/cockroach/pull/35752 |
| 66 | +[#36006]: https://github.com/cockroachdb/cockroach/pull/36006 |
| 67 | +[#36231]: https://github.com/cockroachdb/cockroach/pull/36231 |
| 68 | +[#36628]: https://github.com/cockroachdb/cockroach/pull/36628 |
| 69 | +[#36960]: https://github.com/cockroachdb/cockroach/pull/36960 |
| 70 | +[#37214]: https://github.com/cockroachdb/cockroach/pull/37214 |
| 71 | +[#37336]: https://github.com/cockroachdb/cockroach/pull/37336 |
0 commit comments