incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Petr Odut <petr.o...@gmail.com>
Subject Re: buggy secondary indexes?
Date Mon, 13 Sep 2010 12:59:16 GMT
OK, I'll try it, but this:

"recreate user with different email, then finding user by original email
returns again that updated user"
--> remove user "user" && insert new user: "user":{"email":"other@email.com
"}

doesn't crash on thrift, it seems to be cassandra issue.

Petr


On Mon, Sep 13, 2010 at 11:26 AM, Mike Peters <
cassandra@softwareprojects.com> wrote:

>  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
>
>
>


-- 
Petr Odut [petr.odut@gmail.com]

Mime
View raw message