merge from 1.2
Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/c9a57e55 Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/c9a57e55 Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/c9a57e55 Branch: refs/heads/trunk Commit: c9a57e558bf10292a593cd57ea7e9d80928a048f Parents: 6362b94 e7ea389 Author: Jonathan Ellis <jbel...@apache.org> Authored: Mon Jul 29 15:54:03 2013 -0500 Committer: Jonathan Ellis <jbel...@apache.org> Committed: Mon Jul 29 15:54:03 2013 -0500 ---------------------------------------------------------------------- NEWS.txt | 2 ++ 1 file changed, 2 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cassandra/blob/c9a57e55/NEWS.txt ---------------------------------------------------------------------- diff --cc NEWS.txt index 0acbc76,ae1b21c..8f3d500 --- a/NEWS.txt +++ b/NEWS.txt @@@ -13,64 -13,14 +13,66 @@@ restore snapshots created with the prev 'sstableloader' tool. You can upgrade the file format of your snapshots using the provided 'sstableupgrade' tool. -1.2.9 +2.0.0 ===== -Defaults --------- +Upgrading +--------- + - CAS and new features in CQL such as DROP COLUMN assume that cell + timestamps are microseconds-since-epoch. Do not use these + features if you are using client-specified timestamps with some + other source. + - Upgrading is ONLY supported from Cassandra 1.2.7 or later. This + goes for sstable compatibility as well as network. When + upgrading from an earlier release, upgrade to 1.2.7 first and + run upgradesstables before proceeding to 2.0. + - Replication and strategy options do not accept unknown options anymore. + This was already the case for CQL3 in 1.2 but this is now the case for + thrift too. + - auto_bootstrap of a single-token node with no initial_token will + now pick a random token instead of bisecting an existing token + range. We recommend upgrading to vnodes; failing that, we + recommend specifying initial_token. + - reduce_cache_sizes_at, reduce_cache_capacity_to, and + flush_largest_memtables_at options have been removed from cassandra.yaml. + - CacheServiceMBean.reduceCacheSizes() has been removed. + Use CacheServiceMBean.set{Key,Row}CacheCapacityInMB() instead. + - authority option in cassandra.yaml has been deprecated since 1.2.0, + but it has been completely removed in 2.0. Please use 'authorizer' option. + - ASSUME command has been removed from cqlsh. Use CQL3 blobAsType() and + typeAsBlob() conversion functions instead. + See https://cassandra.apache.org/doc/cql3/CQL.html#blobFun for details. + - Inputing blobs as string constants is now fully deprecated in + favor of blob constants. Make sure to update your applications to use + the new syntax while you are still on 1.2 (which supports both string + and blob constants for blob input) before upgrading to 2.0. + +Operations +---------- + - Major compactions, cleanup, scrub, and upgradesstables will interrupt + any in-progress compactions (but not repair validations) when invoked. + - Disabling autocompactions by setting min/max compaction threshold to 0 + has been deprecated, instead, use the nodetool commands 'disableautocompaction' + and 'enableautocompaction' or set the compaction strategy option enabled = false + - ALTER TABLE DROP has been reenabled for CQL3 tables and has new semantics now. + See https://cassandra.apache.org/doc/cql3/CQL.html#alterTableStmt and + https://issues.apache.org/jira/browse/CASSANDRA-3919 for details. + - CAS uses gc_grace_seconds to determine how long to keep unused paxos + state around for, or a minimum of three hours. + - A new hints created metric is tracked per target, replacing countPendingHints + - After performance testing for CASSANDRA-5727, the default LCS filesize + has been changed from 5MB to 160MB. +Features +-------- + - Alias support has been added to CQL3 SELECT statement. Refer to + CQL3 documentation (http://cassandra.apache.org/doc/cql3/CQL.html) for details. + - JEMalloc support (see memory_allocator in cassandra.yaml) + - Experimental triggers support. See examples/ for how to use. "Experimental" + means "tied closely to internal data structures; we plan to decouple this in + the future, which will probably break triggers written against this initial + API." + 1.2.7 =====