cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Haddad <...@jonhaddad.com>
Subject Re: Documentation of batch statements
Date Tue, 03 Mar 2015 20:39:13 GMT
Actually, that's not true either.  It's technically possible for a batch to
be partially applied in the current implementation, even with logged
batches.  "atomic" is used incorrectly here, imo, since more than 2 states
can be visible, unapplied & applied.

On Tue, Mar 3, 2015 at 9:26 AM Michael Dykman <mdykman@gmail.com> wrote:

> I have a minor complaint about the documentation.  On the page for Batch
> Statements:
>
> http://www.datastax.com/documentation/cql/3.0/cql/cql_reference/batch_r.html
>
> It states: "In the context of a Cassandra batch operation, atomic means
> that if any of the batch succeeds, all of it will."
>
> While the above statement may be strictly true, it is misleading.  A more
> accurate statement would be
>
>  "...if any of the batch FAILS, all of it will."
>
> As originally written, a naive reader might assume that atomicity pivots
> on success; the point of atomicity is reliable failure.
>
> --
>  - michael dykman
>  - mdykman@gmail.com
>
>  May the Source be with you.
>

Mime
View raw message