cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CASSANDRA-880) add "drain" command
Date Wed, 17 Mar 2010 20:25:28 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-880?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12846566#action_12846566
] 

Jonathan Ellis commented on CASSANDRA-880:
------------------------------------------

syncneeded is true if writes have been done since last sync.

dirty is true if writes have been done since last flush.

you can have syncneeded w/o dirty (if flush is called separately) but not vice versa.  so
if you are syncing in close, a separate flush is redundant.

> add "drain" command
> -------------------
>
>                 Key: CASSANDRA-880
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-880
>             Project: Cassandra
>          Issue Type: Task
>          Components: Tools
>            Reporter: Jonathan Ellis
>            Assignee: Gary Dusbabek
>             Fix For: 0.6
>
>         Attachments: v4-0001-drain-method.txt, v4-0002-cleanup-DeletionService-and-MessagingService.txt
>
>
> "drain" will flush and not accept more writes, leaving the commitlog empty on restart.
> this is important to make the future upgrade to 0.7 smooth.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message