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

Potential data directory problems due to CFS getDirectories logic

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Fix Version/s: 3.0.7, 3.7
    • Component/s: None
    • Labels:
      None
    • Severity:
      Normal
    • Since Version:

      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

              • Assignee:
                bdeggleston Blake Eggleston
                Reporter:
                tjake T Jake Luciani
                Authors:
                Blake Eggleston
                Reviewers:
                T Jake Luciani
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: