On Sun, Dec 11, 2011 at 12:01 PM, Boris Yen wrote:
> Hi Sylvain,
>
> "Writes under the same row key are atomic (even across column families) in
> the
> sense that they are either all persisted or none are."
>
> Is this new feature for 1.x, or it also applies to previous version of
> Cassandra?
It
Hi Sylvain,
"Writes under the same row key are atomic (*even across column families*)
in the
sense that they are either all persisted or none are."
Is this new feature for 1.x, or it also applies to previous version of
Cassandra?
Boris
On Thu, Dec 8, 2011 at 6:40 PM, Sylvain Lebresne wrote:
>
On Thu, Dec 8, 2011 at 12:57 AM, Christof Bornhoevd
wrote:
> Hi All,
>
> I'm using Cassandra 1.0.3 (with Hector 0.7). What is the granularity of
> atomic read and write operations with Cassandra. I.e. is the insert or
> update of an individual column an atomic operation (in the sense that it
> eit
Hi All,
I'm using Cassandra 1.0.3 (with Hector 0.7). What is the granularity of
atomic read and write operations with Cassandra. I.e. is the insert or
update of an individual column an atomic operation (in the sense that it
either fails or persists completely), or is the insert or update of an
ent
On Wed, 17 Mar 2010 16:44:50 -0300 Juan Manuel García del Moral
wrote:
JMGdM> That's exactly what I need, Do you have an idea how can I
JMGdM> implement this through the C++ API?
Sorry, I've only worked with the Java and Perl interfaces. I'll have to
use Cassandra with C++ later this year (lo
also += 1 was just an example, it could be += N, += 15 or whatever, it
depends on certain conditions , but I think it would work as well
El 17 de marzo de 2010 16:44, Juan Manuel García del Moral <
juanman...@taringa.net> escribió:
> That's exactly what I need, Do you have an idea how can I impl
That's exactly what I need, Do you have an idea how can I implement this
through the C++ API?
Many thanks
2010/3/17 Ted Zlatanov
> On Wed, 17 Mar 2010 16:29:27 -0300 Juan Manuel García del Moral <
> juanman...@taringa.net> wrote:
>
> JMGdM> I have this:
> JMGdM> SocialAds.Anonimos['145']['Tag'
On Wed, 17 Mar 2010 16:29:27 -0300 Juan Manuel García del Moral
wrote:
JMGdM> I have this:
JMGdM> SocialAds.Anonimos['145']['Tag']['12'] = 13
JMGdM> I would need to to
JMGdM> SocialAds.Anonimos['145']['Tag']['12'] += 1
JMGdM> for example
JMGdM> with that, would be enough for now
JMGdM>
6:05:48 -0300 Juan Manuel García del Moral <
>> juanman...@taringa.net> wrote:
>>
>> JMGdM> So I would have to retrieve (client.get()) the value, then
>> JMGdM> increment it and update it (client.set()) again? with the
>> JMGdM> inconsistency risk this two operations imply...
>>
>> Can you explain what you are trying to accomplish? Maybe there's a way
>> to accomplish it without atomic operations.
>>
>> Ted
>>
>>
>
hen
> JMGdM> increment it and update it (client.set()) again? with the
> JMGdM> inconsistency risk this two operations imply...
>
> Can you explain what you are trying to accomplish? Maybe there's a way
> to accomplish it without atomic operations.
>
> Ted
>
>
re trying to accomplish? Maybe there's a way
to accomplish it without atomic operations.
Ted
ya, this access pattern doesn't really ring true for cassandra, at least imo
jesse
--
jesse mcconnell
jesse.mcconn...@gmail.com
On Wed, Mar 17, 2010 at 14:14, Ned Wolpert wrote:
> I could be wrong, but I would say that even if the thrift syntax gave you a
> 'get/set' you want, you would still
I could be wrong, but I would say that even if the thrift syntax gave you a
'get/set' you want, you would still have the 'inconsistency' risk primarily
because of the Eventually Consistency (
http://www.allthingsdistributed.com/2008/12/eventually_consistent.html) as
implementation in Cassandra. (No
@juan - for now yes.
But as far as i remember, some guys from Digg are trying to implement
counters. Don't know how complete it is and when it can be available. But
for now such feature is not there.
Cheers,
Deepu.
2010/3/18 Juan Manuel García del Moral
> So I would have to retrieve (client.ge
So I would have to retrieve (client.get()) the value, then increment it and
update it (client.set()) again? with the inconsistency risk this two
operations imply...
annoying
thanks for your help
2010/3/17 Jesse McConnell
> afaik, nope
>
> --
> jesse mcconnell
> jesse.mcconn...@gmail.com
>
afaik, nope
--
jesse mcconnell
jesse.mcconn...@gmail.com
2010/3/17 Juan Manuel García del Moral :
> Hello
>
> I would like to know if there is any method available to update
> (increment/decrement) INTEGER values in Columns/SuperColumns, and how I can
> use this method thru the C++ API
>
> Than
Hello
I would like to know if there is any method available to update
(increment/decrement) INTEGER values in Columns/SuperColumns, and how I can
use this method thru the C++ API
Thanks
Juan
17 matches
Mail list logo