title | toc | summary |
---|---|---|
What's New in beta-20170112 |
false |
Additions and changes in CockroachDB version beta-20170112. |
Get future release notes emailed to you:
<script>
hbspt.forms.create({
css: '',
cssClass: 'install-form',
portalId: '1753393',
formId: '39686297-81d2-45e7-a73f-55a596a8d5ff',
formInstanceId: 1,
target: '.install-form-1'
});
</script>
- This release cannot be run concurrently with older beta releases. Please stop all nodes running older releases before restarting any node with this version.
- The
ALTER TABLE VALIDATE CONSTRAINT
statement can now be used to validate foreign keys in theUNVALIDATED
state. #12682 ALTER TABLE DROP COLUMN
can now drop columns that are involved in indexes. If the index includes columns other than the one being dropped, theCASCADE
modifier is required. #12782- Leading zeros in numeric literals are now ignored instead of causing the number to be parsed as octal. #12803
- Collated strings can now be cast to the non-collated string type. #12820
- Arithmetic with aggregated functions no longer crashes when the input table is empty. #12733
- The
SHOW COLUMNS
statement now works for non-root users with the appropriate permissions. #12776 - The
information_schema.statistics.NON_UNIQUE
field is now set correctly. #12793 - It is now possible to use
EXPLAIN
statements as an input to other queries using a new square bracket syntax:SELECT MAX(level) FROM [EXPLAIN SELECT * FROM kv ORDER BY v]
. #12637 - The format of SQL error messages has been standardized. #12401
- The prototype
cockroach backup
andcockroach restore
commands have been removed (backup and restore functionality will be provided through SQL statements instead). #12788
- The set of graphs displayed in the UI has been changed. #12797
- The node list and cluster pages has been updated. #12643 #12719
- A new metric
raftlog.behind
is now reported to track how far behind raft processing is on a node. #12800
- Ranges can no longer be rebalanced away from their current lease holder. #12598
- Eliminated a source of incorrect "not lease holder" errors. #12542
- Reduced spammy "purgatory" log messages. #12528
- The maximum allowable clock offset has been increased from 250ms to 500ms. #12821
- Replica destruction is now much faster. #12745
- Raft snapshots and replica destruction no longer run concurrently. #12737
- Raft snapshots are now managed by a new internal queue. #12686
- Raft logs are now garbage collected more aggressively. #12686
- Replicas that are behind are no longer considered targets for lease rebalancing. #12736
- Tuned some RocksDB parameters. #12677
- Added a Java code sample for transaction retry logic to the Build a Java App with CockroachDB tutorial. #987
- Added documentation on SQL type conversions. #977
This release includes 60 merged PRs by 22 authors. We would like to thank the following contributors from the CockroachDB community:
- songhao