You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Yuki Morishita (JIRA)" <ji...@apache.org> on 2013/03/14 19:48:13 UTC

[jira] [Updated] (CASSANDRA-5350) Fix ColumnFamily opening race

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

Yuki Morishita updated CASSANDRA-5350:
--------------------------------------

    Attachment: 0001-move-scheduling-MeteredFlusher-to-CassandraDaemon.patch

Patch for 1.2 branch attached.
                
> Fix ColumnFamily opening race
> -----------------------------
>
>                 Key: CASSANDRA-5350
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-5350
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Yuki Morishita
>            Assignee: Yuki Morishita
>         Attachments: 0001-move-scheduling-MeteredFlusher-to-CassandraDaemon.patch
>
>
> (Moving from CASSANDRA-5151)
> Currently, MeteredFlusher is scheduled inside static block of ColumnFamilyStore,  and it accesses all ColumnFamilyStore when it runs every 1 sec. Scheduling is done when JVM first load ColumnFamilyStore class, so after that, there is always a chance to open SSTables before doing scrub directory/remove compaction left overs.
> We should move the content of static block at the end of CassandraDaemon setup.

--
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