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

StartupCheck error for read_ahead_kb

    XMLWordPrintableJSON

Details

    • Degradation - Resource Management
    • Normal
    • Normal
    • User Report
    • All
    • None

    Description

      We believe the StartupChecks.java has a minor bug here:
      https://github.com/apache/cassandra/blob/cassandra-4.1/src/java/org/apache/cassandra/service/StartupChecks.java#L737

      String deviceName = blockDirComponents[2].replaceAll("[0-9]*$", "");

      We are using a RAID setup with two disks, so removing the "[0-9]" makes the check fail:

      cat /sys/block/md/queue/read_ahead_kb
      cat: /sys/block/md/queue/read_ahead_kb: No such file or directory

      It should be "md0" in our case, so removing the '0' won't work.

      Attachments

        Activity

          People

            Unassigned Unassigned
            mortenjoenby Morten Joenby
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: