Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-10518

initialDirectories passed into ColumnFamilyStore contructor

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 3.0.0 rc2
    • 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

      Attachments

        1. 10518-v2.txt
          3 kB
          Blake Eggleston
        2. initialDirectoriesFixV1.patch
          2 kB
          Blake Eggleston

        Activity

          People

            bdeggleston Blake Eggleston
            bdeggleston Blake Eggleston
            Blake Eggleston
            Marcus Eriksson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: