Re: Re: Is it possible to implement a interface to replace a row in cassandra using cassandra.thrift?

2015-01-07 Thread Ryan Svihla
really depends on your code for error handling, and since you're using thrift it really depends on the client, if you're doing client side timestamps then it's not related to time issues. On Tue, Jan 6, 2015 at 8:19 PM, yhq...@sina.com wrote: Hi, I found that in my function, both delete and

Is it possible to implement a interface to replace a row in cassandra using cassandra.thrift?

2015-01-06 Thread yhqruc
Hi, all:I use cassandra.thrift to implement a replace row interface in this way:First use batch_mutate to delete that row, then use batch_mutate to insert a new row.I always find that after call this interface, the row is not exist. Then I doubt that it is the problem caused by

Is it possible to implement a interface to replace a row in cassandra using cassandra.thrift?

2015-01-06 Thread yhqruc
Hi, all:I use cassandra.thrift to implement a replace row interface in this way:First use batch_mutate to delete that row, then use batch_mutate to insert a new row.I always find that after call this interface, the row is not exist. Then I doubt that it is the problem caused by

Is it possible to implement a interface to replace a row in cassandra using cassandra.thrift?

2015-01-06 Thread yhqruc
Hi, all:I use cassandra.thrift to implement a replace row interface in this way:First use batch_mutate to delete that row, then use batch_mutate to insert a new row.I always find that after call this interface, the row is not exist. Then I doubt that it is the problem caused by

Is it possible to implement a interface to replace a row in cassandra using cassandra.thrift?

2015-01-06 Thread yhqruc
Hi, all:I use cassandra.thrift to implement a replace row interface in this way:First use batch_mutate to delete that row, then use batch_mutate to insert a new row.I always find that after call this interface, the row is not exist. Then I doubt that it is the problem caused by

转发:Re: Is it possible to implement a interface to replace a row in cassandra using cassandra.thrift?

2015-01-06 Thread yhqruc
Hi, I found that in my function, both delete and update use the client side timestamp.The update timestamp should be always bigger than the deletion timestamp. I wonder why the update failed in some cases? thank you. - 原始邮件 - 发件人:Ryan Svihla r...@foundev.pro

Re: Is it possible to implement a interface to replace a row in cassandra using cassandra.thrift?

2015-01-06 Thread Ryan Svihla
replies inline On Tue, Jan 6, 2015 at 2:28 AM, yhq...@sina.com wrote: Hi, all: I use cassandra.thrift to implement a replace row interface in this way: First use batch_mutate to delete that row, then use batch_mutate to insert a new row. I always find that after call this