Blake Eggleston created CASSANDRA-10518:
-------------------------------------------
Summary: initialDirectories passed into ColumnFamilyStore contructor
Key: CASSANDRA-10518
URL: https://issues.apache.org/jira/browse/CASSANDRA-10518
Project: Cassandra
Issue Type: Bug
Reporter: Blake Eggleston
Assignee: Blake Eggleston
Priority: Minor
Fix For: 3.0.0 rc2
Attachments: initialDirectoriesFixV1.patch
One of the goals of CASSANDRA-8671 was to let compaction strategies write to directories not
used by normal tables, and the field {{ColumnFamilyStore.initialDirectories}} was added to
make sstables in those directories discoverable on cfs instantiation.
Unfortunately, in my patch, I passed the full list of directories {{initialDirectories}} into
the ColumnFamilyStore constructor, effectively making these directories usable by any table.
The attached patch fixes this, and elaborates on the correct usage of the usage of {{ColumnFamilyStore.addInitialDirectories}}
in it's comment
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
|