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

Potential data directory problems due to CFS getDirectories logic

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 3.0.7, 3.7
    • None
    • None
    • Normal

    Description

      CASSANDRA-8671 added the ability to change the data directory based on the compaction strategy.

      Since nothing uses this yet we haven't hit any issues but reading the code I see potential bugs for things like Transaction log cleanup and CFS initialization since these all use the default Directories location from the yaml.

      • Directories is passed into CFS constructor then possibly disregarded.
      • Startup checks like scrubDataDirectories are all using default Directories locations.
      • StandaloneSSTableUtil

      Attachments

        Issue Links

          Activity

            People

              bdeggleston Blake Eggleston
              tjake T Jake Luciani
              Blake Eggleston
              T Jake Luciani
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: