cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (Created) (JIRA)" <>
Subject [jira] [Created] (CASSANDRA-3564) flush before shutdown so restart is faster
Date Fri, 02 Dec 2011 22:19:39 GMT
flush before shutdown so restart is faster

                 Key: CASSANDRA-3564
             Project: Cassandra
          Issue Type: New Feature
          Components: Packaging
            Reporter: Jonathan Ellis
            Assignee: paul cannon
            Priority: Minor
             Fix For: 1.1

Cassandra handles flush in its shutdown hook for durable_writes=false CFs (otherwise we're
*guaranteed* to lose data) but leaves it up to the operator otherwise.  I'd rather leave it
that way to offer these semantics:

cassandra stop = shutdown nicely
kill -INT = shutdown faster but don't lose any updates
kill -KILL = lose most recent writes unless durable_writes=true and batch commits are on

But if it's not reasonable to use nodetool from the init script then I guess we can just make
the shutdown hook flush everything.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message