Details
-
Bug
-
Status: Open
-
Normal
-
Resolution: Unresolved
-
None
-
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.