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


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

Reply via email to