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

initialDirectories passed into ColumnFamilyStore contructor

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Low
    • Resolution: Fixed
    • Fix Version/s: 3.0.0 rc2
    • Component/s: None
    • Labels:
      None
    • Severity:
      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

          Activity

          $i18n.getText('security.level.explanation', $currentSelection) Viewable by All Users
          Cancel

            People

            • Assignee:
              bdeggleston Blake Eggleston Assign to me
              Reporter:
              bdeggleston Blake Eggleston
              Authors:
              Blake Eggleston
              Reviewers:
              Marcus Eriksson

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment