Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 95010 invoked from network); 13 Sep 2010 09:27:21 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 13 Sep 2010 09:27:21 -0000 Received: (qmail 57538 invoked by uid 500); 13 Sep 2010 09:27:19 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 57373 invoked by uid 500); 13 Sep 2010 09:27:16 -0000 Mailing-List: contact user-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cassandra.apache.org Delivered-To: mailing list user@cassandra.apache.org Received: (qmail 57359 invoked by uid 99); 13 Sep 2010 09:27:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Sep 2010 09:27:15 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: unknown amxip4:204.200.197.195ip4:174.37.77.13ip4:174.37.77.14ip4:174.37.77.15ip4:67.228.191.123ip4:67.228.190.12ip4:174.36.43.26ip4:67.228.190.15ip4:204.200.197.196~all (athena.apache.org: encountered unrecognized mechanism during SPF processing of domain of cassandra@softwareprojects.com) Received: from [204.200.197.196] (HELO mx1.softwareprojects.com) (204.200.197.196) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Sep 2010 09:27:09 +0000 Received: from [192.168.0.132] (bzq-84-109-23-242.red.bezeqint.net [84.109.23.242]) (authenticated bits=0) by mx1.softwareprojects.com (8.13.6.20060614/8.13.6) with ESMTP id o8D9QUjs065038 for ; Mon, 13 Sep 2010 09:26:46 GMT Message-ID: <4C8DEE39.6040001@softwareprojects.com> Date: Mon, 13 Sep 2010 05:26:17 -0400 From: Mike Peters User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.9) Gecko/20100825 Thunderbird/3.1.3 MIME-Version: 1.0 To: user@cassandra.apache.org Subject: Re: buggy secondary indexes? References: In-Reply-To: Content-Type: multipart/alternative; boundary="------------060201010902000100060908" This is a multi-part message in MIME format. --------------060201010902000100060908 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sounds like you may need to patch your php thrift See http://www.softwareprojects.com/resources/programming/t-php-thrift-library-for-cassandra-1982.html On 9/13/2010 5:09 AM, Petr Odut wrote: > Hi, > let's have CF User with indexed column email. > > Now i insert new user: "user":{"email":"some@email.com > "} > > finding user by email address by get_indexed_slices ... everything > works all right > updating email value (via batch_mutate) ends with TTransportException > (TSocket: timed out reading 4 bytes from localhost:9160) > remove user, then try to find user by email again - it returns an > empty user "user":{} > recreate user with different email, then finding user by original > email is successful > > Hope that last 3 points are buggy behaviour, > using cassandra 0.7beta1 + php thrift > > Petr --------------060201010902000100060908 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sounds like you may need to patch your php thrift

See http://www.softwareprojects.com/resources/programming/t-php-thrift-library-for-cassandra-1982.html

On 9/13/2010 5:09 AM, Petr Odut wrote:
Hi,
let's have CF User with indexed column email.

Now i insert new user: "user":{"email":"some@email.com"}

finding user by email address by get_indexed_slices ... everything works all right
updating email value (via batch_mutate) ends with TTransportException (TSocket: timed out reading 4 bytes from localhost:9160)
remove user, then try to find user by email again - it returns an empty user "user":{}
recreate user with different email, then finding user by original email is successful

Hope that last 3 points are buggy behaviour,
using cassandra 0.7beta1 + php thrift

Petr

--------------060201010902000100060908--