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

Blake Eggleston commented on CASSANDRA-11849:
---------------------------------------------

We could add an {{IAdditionalDirectories}} class or something people could 
supply their own implementations for. Although I'm not sure that would really 
be better, since people would then need to know to supply that, and it would 
still need to be configured prior to any CFS instantiations.

Ideally, we could add something to the compaction strategies themselves. 
Discovering all of them before any table loading would require scanning the 
classpath on startup though.

> Potential data directory problems due to CFS getDirectories logic
> -----------------------------------------------------------------
>
>                 Key: CASSANDRA-11849
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-11849
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: T Jake Luciani
>            Assignee: Blake Eggleston
>
> CASSANDRA-8671 added the ability to change the data directory based on the 
> compaction strategy.  
> Since nothing uses this yet we haven't hit any issues but reading the code I 
> see potential bugs for things like Transaction log cleanup and CFS 
> initialization since these all use the default {{Directories}} location from 
> the yaml.
> * {{Directories}} is passed into CFS constructor then possibly disregarded.
> * Startup checks like scrubDataDirectories are all using default Directories 
> locations.
> * StandaloneSSTableUtil 



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

Reply via email to