incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Ellis <jbel...@gmail.com>
Subject Re: Cassandra Ruby Library's batch method example?
Date Fri, 23 Apr 2010 00:32:01 GMT
nope, there is no guarantee of that.  if the server fails
mid-operation you have to retry it.

On Thu, Apr 22, 2010 at 7:23 PM, Lucas Di Pentima
<lucas@di-pentima.com.ar> wrote:
>
> El 22/04/2010, a las 19:57, Ryan King escribió:
>
>> The batch method in the cassandra gem is still a little crippled (it
>> doesn't actually batch together everything it can), but you can use it
>> like this:
>>
>> http://github.com/fauna/cassandra/blob/master/test/cassandra_test.rb#L299
>
> Thanks Ryan! One question about this feature: Ideally it should execute all batched operations
or none, is that right? In case one batched operation raise some exception, the previous ops
are rolled back?
>
> --
> Lucas Di Pentima - Santa Fe, Argentina
> Jabber: lucas@di-pentima.com.ar
> MSN: ldipenti75@hotmail.com
>
>
>
>
>

Mime
View raw message