[
https://issues.apache.org/jira/browse/CASSANDRA-11705?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15278283#comment-15278283
]
Aleksey Yeschenko commented on CASSANDRA-11705:
-----------------------------------------------
What's the reason behind marking getInitialDirectories() as {{synchronized}}?
> clearSnapshots using Directories.dataDirectories instead of
> CFS.initialDirectories
> ----------------------------------------------------------------------------------
>
> Key: CASSANDRA-11705
> URL: https://issues.apache.org/jira/browse/CASSANDRA-11705
> Project: Cassandra
> Issue Type: Bug
> Reporter: Blake Eggleston
> Assignee: Blake Eggleston
> Priority: Minor
> Fix For: 3.0.x, 3.x
>
>
> An oversight in CASSANDRA-10518 prevents snapshots created in data
> directories defined outside of cassandra.yaml from being cleared by
> {{Keyspace.clearSnapshots}}. {{ColumnFamilyStore.initialDirectories}} should
> be used when finding snapshots to clear, not {{Directories.dataDirectories}}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)