|
| 1 | +--- |
| 2 | +title: What's New in v2.0.4 |
| 3 | +toc: false |
| 4 | +summary: Additions and changes in CockroachDB version v2.0.4 since version v2.0.3 |
| 5 | +--- |
| 6 | + |
| 7 | +## July 16, 2018 |
| 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.0.4.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.0.4.linux-amd64.tgz"><button id="linux" data-eventcategory="linux-binary-release-notes">Linux</button></a> |
| 29 | + <a href="https://binaries.cockroachdb.com/cockroach-v2.0.4.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.0.4.src.tgz"><button id="source" data-eventcategory="source-release-notes">Source</button></a> |
| 31 | +</div> |
| 32 | + |
| 33 | +### SQL Language Changes |
| 34 | + |
| 35 | +- [`CHECK`](../v2.0/check.html) constraints are now checked when updating a conflicting row in [`INSERT ... ON CONFLICT DO UPDATE`](../v2.0/insert.html#update-values-on-conflict) statements. [#26699][#26699] {% comment %}doc{% endcomment %} |
| 36 | +- An error is now returned to the user instead of panicking when trying to add a column with a [`UNIQUE`](../v2.0/unique.html) constraint when that column's type is not indexable. [#26728][#26728] {% comment %}doc{% endcomment %} |
| 37 | + |
| 38 | +### Command-Line Changes |
| 39 | + |
| 40 | +- CockroachDB now computes the correct number of replicas on down nodes. Therefore, when [decommissioning nodes](../v2.0/remove-nodes.html) via the [`cockroach node decommission`](../v2.0/view-node-details.html) command, the `--wait=all` option no longer hangs indefinitely when there are down nodes. As a result, the `--wait=live` option is no longer necessary and has been deprecated. [#27158][#27158] |
| 41 | + |
| 42 | +### Bug Fixes |
| 43 | + |
| 44 | +- Fixed a typo on **Node Map** screen of the Admin UI. [#27129][#27129] |
| 45 | +- Fixed a rare crash on node [decommissioning](../v2.0/remove-nodes.html). [#26717][#26717] |
| 46 | +- Joins across two [interleaved tables](../v2.0/interleave-in-parent.html) no longer return incorrect results under certain circumstances when the equality columns aren't all part of the interleaved columns. [#26832][#26832] |
| 47 | +- Successes of time series maintenance queue operations are no longer counted as errors in the **Metrics** dashboard of the Admin UI. [#26820][#26820] |
| 48 | +- Prevented a situation in which ranges repeatedly fail to perform a split. [#26944][#26944] |
| 49 | +- Fixed a crash that could occur when distributed `LIMIT` queries were run on a cluster with at least one unhealthy node. [#26953][#26953] |
| 50 | +- Failed [`IMPORT`](../v2.0/import.html)s now begin to clean up partially imported data immediately and in a faster manner. [#26986][#26986] |
| 51 | +- Alleviated a scenario in which a large number of uncommitted Raft commands could cause memory pressure at startup time. [#27024][#27024] |
| 52 | +- The pg-specific syntax `SET transaction_isolation` now supports settings other than `SNAPSHOT`. This bug did not affect the standard SQL `SET TRANSACTION |
| 53 | + ISOLATION LEVEL`. [#27047][#27047] |
| 54 | +- The `DISTINCT ON` clause is now reported properly in statement statistics. [#27222][#27222] |
| 55 | +- Fixed a crash when trying to plan certain `UNION ALL` queries. [#27233][#27233] |
| 56 | +- Commands are now abandoned earlier once a deadline has been reached. [#27215][#27215] |
| 57 | +- Fixed a panic in [`IMPORT`](../v2.0/import.html) when creating a table using a sequence operation (e.g., `nextval()`) in a column's [DEFAULT](../v2.0/default-value.html) expression. [#27294][#27294] |
| 58 | + |
| 59 | +### Doc Updates |
| 60 | + |
| 61 | +- Added a tutorial on [benchmarking CockroachDB with TPC-C](../v2.0/performance-benchmarking-with-tpc-c.html). [#3281][#3281] |
| 62 | +- Added `systemd` configs and instructions to [deployment tutorials](../v2.0/manual-deployment.html). [#3268][#3268] |
| 63 | +- Updated the [Kubernetes tutorials](../v2.0/orchestrate-cockroachdb-with-kubernetes.html) to reflect that pods aren't "Ready" before init. [#3291][#3291] |
| 64 | + |
| 65 | +### Contributors |
| 66 | + |
| 67 | +This release includes 22 merged PRs by 17 authors. We would like to thank the following contributors from the CockroachDB community, with special thanks to first-time contributors Emmanuel. |
| 68 | + |
| 69 | +- Emmanuel |
| 70 | +- neeral |
| 71 | + |
| 72 | +[#26699]: https://github.com/cockroachdb/cockroach/pull/26699 |
| 73 | +[#26717]: https://github.com/cockroachdb/cockroach/pull/26717 |
| 74 | +[#26728]: https://github.com/cockroachdb/cockroach/pull/26728 |
| 75 | +[#26820]: https://github.com/cockroachdb/cockroach/pull/26820 |
| 76 | +[#26832]: https://github.com/cockroachdb/cockroach/pull/26832 |
| 77 | +[#26944]: https://github.com/cockroachdb/cockroach/pull/26944 |
| 78 | +[#26953]: https://github.com/cockroachdb/cockroach/pull/26953 |
| 79 | +[#26986]: https://github.com/cockroachdb/cockroach/pull/26986 |
| 80 | +[#27024]: https://github.com/cockroachdb/cockroach/pull/27024 |
| 81 | +[#27047]: https://github.com/cockroachdb/cockroach/pull/27047 |
| 82 | +[#27129]: https://github.com/cockroachdb/cockroach/pull/27129 |
| 83 | +[#27158]: https://github.com/cockroachdb/cockroach/pull/27158 |
| 84 | +[#27215]: https://github.com/cockroachdb/cockroach/pull/27215 |
| 85 | +[#27222]: https://github.com/cockroachdb/cockroach/pull/27222 |
| 86 | +[#27233]: https://github.com/cockroachdb/cockroach/pull/27233 |
| 87 | +[#27294]: https://github.com/cockroachdb/cockroach/pull/27294 |
| 88 | +[#3268]: https://github.com/cockroachdb/docs/pull/3268 |
| 89 | +[#3281]: https://github.com/cockroachdb/docs/pull/3281 |
| 90 | +[#3291]: https://github.com/cockroachdb/docs/pull/3291 |
0 commit comments