You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Brandon Williams (JIRA)" <ji...@apache.org> on 2011/03/15 17:47:29 UTC

[jira] Issue Comment Edited: (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=13007007#comment-13007007 ] 

Brandon Williams edited comment on CASSANDRA-2330 at 3/15/11 4:46 PM:
----------------------------------------------------------------------

Patch to concat indexes ahead of the parent.  stress.java blocks for 7s instead of 9, with an 8G heap.

      was (Author: brandon.williams):
    Patch to concat indexes ahead of the parent.  stress.java blocks for 7s instead of 9.
  
> 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.1
>            Reporter: Brandon Williams
>            Assignee: Brandon Williams
>            Priority: Minor
>             Fix For: 0.7.4
>
>         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