incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thapar, Vishal (HP Networking)" <>
Subject RE: Cassandra 1.2.4 - Unflushed data lost on restart
Date Fri, 06 Sep 2013 17:14:08 GMT
My usage requirements are such that there should be least possible data loss even in case of
a poweroff. When you say clean shutdown do you mean Cassandra service stop?

I ran across this issue when testing out different scenarios to figure out what would be best
configuration for my requirements, will consider batch mode as 10 seconds window might be
too much for some of my use cases.

Thanks for the reply,
From: Robert Coli [] 
Sent: Friday, September 06, 2013 10:35 PM
Subject: Re: Cassandra 1.2.4 - Unflushed data lost on restart

On Fri, Sep 6, 2013 at 2:42 AM, Thapar, Vishal (HP Networking) <> 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.


View raw message