You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Robert Coli (JIRA)" <ji...@apache.org> on 2012/09/04 21:27:07 UTC

[jira] [Commented] (CASSANDRA-2958) Flush memtables on shutdown when durable writes are disabled

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

Robert Coli commented on CASSANDRA-2958:
----------------------------------------

> "a memtable holds changes until it hits a flush condition like being full or graceful shutdown, or you explicitly flush it."

This is not an unambiguous summary of the current behavior. It is true only if durable_writes are off. If durable_writes are on, graceful shutdown does not flush.

"a memtable holds changes until it hits a flush condition like being full (or, if durable_writes are disabled, on graceful shutdown), or you explicitly flush it"

Seems to unambiguously describe the current behavior and doesn't read very well.

I gather from CASSANDRA-3564 that there is interest in extending this flush-on-graceful shutdown behavior to occur in all cases of graceful shutdown. If that happens, your sentence will be a correct summation of Cassandra's newly predictable behavior. It will also answer my primary objection here, which is that the flush only occurs in *some* graceful shutdown cases. :)
                
> Flush memtables on shutdown when durable writes are disabled
> ------------------------------------------------------------
>
>                 Key: CASSANDRA-2958
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2958
>             Project: Cassandra
>          Issue Type: Bug
>    Affects Versions: 0.8.1
>            Reporter: David Phillips
>            Assignee: Robert Coli
>             Fix For: 0.8.3
>
>         Attachments: 2958.txt
>
>
>  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira