cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Blake Eggleston (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CASSANDRA-10518) initialDirectories passed into ColumnFamilyStore contructor
Date Wed, 14 Oct 2015 04:12:05 GMT
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)

Mime
View raw message