cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Ellis <>
Subject default OrderPreservingPartitioner changed
Date Fri, 07 Aug 2009 22:04:05 GMT
The default OPP now does comparisons based strictly on byte order, and
is no longer collation aware.  This is a better default choice for
those who don't need collation since it's much faster.  If you do need
collation, the old partitioner is still available as CollatingOPP:

-   <Partitioner>org.apache.cassandra.dht.OrderPreservingPartitioner</Partitioner>
+   <Partitioner>org.apache.cassandra.dht.CollatingOrderPreservingPartitioner</Partitioner>

If you have test data on trunk using the old OPP across more than one
node, you need to use the CollatingOPP for the partitioning to match
what you have on disk.


View raw message