You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Alex Kaiser (JIRA)" <ji...@apache.org> on 2016/02/15 05:45:18 UTC

[jira] [Commented] (CASSANDRA-10273) Reduce number of data directory scans during startup

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

Alex Kaiser commented on CASSANDRA-10273:
-----------------------------------------

I want to work on this as my first bug, but I have a question.  I found (and see how to fix) the references in ColumnFamilyStore, but I can't find what classes the scan is being done in the startup tests, as I wasn't able to find it?  Thanks.

> Reduce number of data directory scans during startup
> ----------------------------------------------------
>
>                 Key: CASSANDRA-10273
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-10273
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Robert Stupp
>            Priority: Minor
>              Labels: lhf
>
> ATM we scan each data directory four times. We could easily reduce that to at least two, maybe to one.
> 1. pre-flight (startup tests) scrub
> 1. pre-flight (startup tests) sstable min version
> 1. {{ColumnFamilyStore.createColumnFamilyStore}}
> 1. {{ColumnFamilyStore.<init>}} (if {{loadSSTables==true}})
> First two pre-flight tests could be combined to one and 3+4 could also be combined, as both appear at pretty related code paths.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)