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/03/15 18:33:29 UTC

[jira] Commented: (CASSANDRA-2330) Queue indexes for flush before the parent

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

Jonathan Ellis commented on CASSANDRA-2330:
-------------------------------------------

+1

> Queue indexes for flush before the parent
> -----------------------------------------
>
>                 Key: CASSANDRA-2330
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2330
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Contrib
>    Affects Versions: 0.7.0
>            Reporter: Brandon Williams
>            Assignee: Brandon Williams
>            Priority: Minor
>             Fix For: 0.7.5
>
>         Attachments: 2330.txt
>
>
> Secondary indexes flush when the parent does.  This has an unfortunate side effect: a single CF flushing with a single secondary index fills the flush queue and blocks further writes until the first one completes.  A simple but naive optimization here would be to queue the indexes before the parent since they are generally going to be smaller, and thus flush faster, reducing the amount of time writes are blocked.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira