incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Coli <rc...@eventbrite.com>
Subject Re: Cassandra 1.2.4 - Unflushed data lost on restart
Date Fri, 06 Sep 2013 17:04:36 GMT
On Fri, Sep 6, 2013 at 2:42 AM, Thapar, Vishal (HP Networking) <
vthapar@hp.com> wrote:

> I am running Cassandra 1.2.4 in standalone mode and see a data loss when I
> stop/start Cassandra [kill the task].
>

Clean shutdown waits for commitlog flush. Unclean shutdown does not. In
default periodic mode, this could mean up to 10 seconds of loss. If you
don't want to lose up to 10 seconds, use batch commitlog mode or... just
shut down cleanly?

There are also cases in your vintage Cassandra where data in secondary
indexes has not been available, in case you are querying on those.

=Rob

Mime
View raw message