You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jonathan Ellis (JIRA)" <ji...@apache.org> on 2011/01/14 00:08:46 UTC

[jira] Resolved: (CASSANDRA-1982) When creating snapshots, flush isn't required to finish before the snapshots are created

     [ https://issues.apache.org/jira/browse/CASSANDRA-1982?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Ellis resolved CASSANDRA-1982.
---------------------------------------

    Resolution: Invalid

if you look at the code, snapshot calls forceBlockingFlush, which does what its name says and blocks for the flush to complete.

> When creating snapshots, flush isn't required to finish before the snapshots are created
> ----------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-1982
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1982
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 0.6.9, 0.7.0
>            Reporter: Joaquin Casares
>            Priority: Minor
>
> Right now ColumnFamilyStore.snapshot() works by doing a flush() first, then do symlinks on the sstables.
> But flush() is actually submitted through Executor, so by the time the code reaches the symlink part, the flush() may have not happened at all.

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