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

Jonathan Ellis commented on CASSANDRA-1471:
-------------------------------------------

looks good except I think mixing component into fromFilename indicates callers 
that can be cleaned up more.  how about if we continue to return descriptor, 
and let the caller ask for Descriptor.componentFor(Component.Type) if necessary?

> Improve SSTable discovery and allow for more components
> -------------------------------------------------------
>
>                 Key: CASSANDRA-1471
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1471
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Stu Hood
>             Fix For: 0.7.0
>
>         Attachments: 
> 0001-Prepare-to-have-a-fifth-type-of-SSTable-file-by-addi.patch, 
> 0002-Incorporate-Components-into-ColumnFamilyStore-loadin.patch, 
> 0003-Remove-extraneous-SSTR-constructor-and-factory-funct.patch, 
> 0004-Incorporate-Components-into-SSTable-load-process.patch
>
>
> A new 'Statistics.db' component was added recently, and it is likely that 
> more components will follow. Due to our parsing code using a regex to detect 
> 'orphan' files (rather than a checked type) a bug slipped through that 
> prevents the new component from being detected as an orphan.
> To continue to be able to scale the components of SSTables, we should 
> formalize 'Components'.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to