cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brandon Williams (JIRA)" <j...@apache.org>
Subject [jira] Issue Comment Edited: (CASSANDRA-2330) Queue indexes for flush before the parent
Date Tue, 15 Mar 2011 16:47:29 GMT

    [ 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

Mime
View raw message