Return-Path: Delivered-To: apmail-incubator-cassandra-user-archive@minotaur.apache.org Received: (qmail 95579 invoked from network); 7 Aug 2009 22:04:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 7 Aug 2009 22:04:29 -0000 Received: (qmail 59604 invoked by uid 500); 7 Aug 2009 22:04:36 -0000 Delivered-To: apmail-incubator-cassandra-user-archive@incubator.apache.org Received: (qmail 59487 invoked by uid 500); 7 Aug 2009 22:04:35 -0000 Mailing-List: contact cassandra-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cassandra-user@incubator.apache.org Delivered-To: mailing list cassandra-user@incubator.apache.org Received: (qmail 59469 invoked by uid 99); 7 Aug 2009 22:04:35 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Aug 2009 22:04:35 +0000 X-ASF-Spam-Status: No, hits=0.4 required=10.0 tests=SPF_PASS,SUBJECT_FUZZY_TION X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jbellis@gmail.com designates 74.125.78.145 as permitted sender) Received: from [74.125.78.145] (HELO ey-out-1920.google.com) (74.125.78.145) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Aug 2009 22:04:27 +0000 Received: by ey-out-1920.google.com with SMTP id 13so539433eye.54 for ; Fri, 07 Aug 2009 15:04:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=VOxIi43iocaok9pUMdtl0gcuwsoMzup9fyTdPQ25tJg=; b=Jzu1xUsXEGIXleivVkelUB+Tvza5vQVdiVcwXqT+TWORM35YYzyj2ot2/pzj/K84d/ nIKHwwhVpvW7bfPKlscBiCm53p/xexa1y7lFTdh6I9mthgWZPrYMcimV8yQbXRqI8w6l VeGS7Bna/4ntc1VRO56D6FKQVsCJeNWaOqfrQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=s30ASdG9KgMwjRfdV4jmPsNMOBSHz3x2irtiZJCcFDE6gRnBVWsowRV8meKrD0Ylw3 YlE5/1XHzellU86pg+awai9qWnMAh22TKLS+3yUHhvW4ILK7jMmB4crhu5Rr25oIecVR LOJz4vKeNkK87B/JuMradILRsoDCAfUltxZa8= MIME-Version: 1.0 Received: by 10.216.90.14 with SMTP id d14mr333871wef.30.1249682645596; Fri, 07 Aug 2009 15:04:05 -0700 (PDT) Date: Fri, 7 Aug 2009 17:04:05 -0500 Message-ID: Subject: default OrderPreservingPartitioner changed From: Jonathan Ellis To: cassandra-dev@incubator.apache.org, cassandra-user@incubator.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org 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: - org.apache.cassandra.dht.OrderPreservingPartitioner + org.apache.cassandra.dht.CollatingOrderPreservingPartitioner 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. -Jonathan