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

Jonathan Ellis commented on CASSANDRA-1780:
-------------------------------------------

Peter: I don't think so, since each insert will either be all in one memtable, 
or all in another; it won't be spread across multiple memtables, so our 
atomicity guarantee is safe.  It's definitely a little unintuitive that a 
memtable could be flushed before the write to the commitlog, but it's harmless 
as far as the semantics are concerned.

> periodic + flush commitlog mode
> -------------------------------
>
>                 Key: CASSANDRA-1780
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1780
>             Project: Cassandra
>          Issue Type: New Feature
>          Components: Core
>            Reporter: Jonathan Ellis
>            Assignee: Jonathan Ellis
>            Priority: Minor
>             Fix For: 0.7.0
>
>         Attachments: 1780.txt
>
>
> periodic-sync commitlog mode only flushes before it syncs, which means its 
> best case durability is very similar to its worst case.  if we had a mode 
> that flushed but did not sync then it would only lose data for actual power 
> failures.

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

Reply via email to