cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbel...@apache.org
Subject svn commit: r934974 - in /cassandra/trunk: NEWS.txt conf/cassandra.xml
Date Fri, 16 Apr 2010 16:10:41 GMT
Author: jbellis
Date: Fri Apr 16 16:10:41 2010
New Revision: 934974

URL: http://svn.apache.org/viewvc?rev=934974&view=rev
Log:
update NEWS, configuration for byte[] keys change.  patch by Stu Hood; reviewed by jbellis
for CASSANDRA-989

Modified:
    cassandra/trunk/NEWS.txt
    cassandra/trunk/conf/cassandra.xml

Modified: cassandra/trunk/NEWS.txt
URL: http://svn.apache.org/viewvc/cassandra/trunk/NEWS.txt?rev=934974&r1=934973&r2=934974&view=diff
==============================================================================
--- cassandra/trunk/NEWS.txt (original)
+++ cassandra/trunk/NEWS.txt Fri Apr 16 16:10:41 2010
@@ -1,6 +1,15 @@
 0.7.0
 =====
 
+Features
+--------
+    - Row keys are now bytes: keys stored by versions prior to 0.7.0 will be
+      returned as UTF-8 encoded bytes. OrderPreservingPartitioner and
+      CollatingOrderPreservingPartitioner continue to expect that keys contain
+      UTF-8 encoded strings, but RandomPartitioner no longer expects strings.
+    - A new ByteOrderedPartitioner supports bytes keys with arbitrary content,
+      and orders keys by their byte value. 
+
 Configuraton
 ------------
     - Configuration file renamed to cassandra.xml and log4j.properties to
@@ -18,6 +27,7 @@ Configuraton
 
 Thrift API
 ----------
+    - Row keys are now 'bytes': see the Features list.
     - The return type for login() is now AccessLevel.
     - The get_string_property() method has been removed.
     - The get_string_list_property() method has been removed.

Modified: cassandra/trunk/conf/cassandra.xml
URL: http://svn.apache.org/viewvc/cassandra/trunk/conf/cassandra.xml?rev=934974&r1=934973&r2=934974&view=diff
==============================================================================
--- cassandra/trunk/conf/cassandra.xml (original)
+++ cassandra/trunk/conf/cassandra.xml Fri Apr 16 16:10:41 2010
@@ -167,11 +167,11 @@
   <!--
    ~ Partitioner: any IPartitioner may be used, including your own as long
    ~ as it is on the classpath.  Out of the box, Cassandra provides
-   ~ org.apache.cassandra.dht.RandomPartitioner,
-   ~ org.apache.cassandra.dht.OrderPreservingPartitioner, and
-   ~ org.apache.cassandra.dht.CollatingOrderPreservingPartitioner.
-   ~ (CollatingOPP colates according to EN,US rules, not naive byte
-   ~ ordering.  Use this as an example if you need locale-aware collation.)
+   ~ * org.apache.cassandra.dht.RandomPartitioner (un-ordered)
+   ~ * org.apache.cassandra.dht.ByteOrderedPartitioner (raw byte ordered)
+   ~ * org.apache.cassandra.dht.OrderPreservingPartitioner (utf8 ordered)
+   ~ * org.apache.cassandra.dht.CollatingOrderPreservingPartitioner 
+   ~   utf8 collation ordered using EN,US rules)
    ~ Range queries require using an order-preserving partitioner.
    ~
    ~ Achtung!  Changing this parameter requires wiping your data



Mime
View raw message