Details
-
Bug
-
Status: Resolved
-
Low
-
Resolution: Fixed
-
None
-
None
-
Low
Description
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