You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Morten Joenby (Jira)" <ji...@apache.org> on 2024/04/19 12:46:00 UTC
[jira] [Created] (CASSANDRA-19575) StartupCheck error for read_ahead_kb
Morten Joenby created CASSANDRA-19575:
-----------------------------------------
Summary: StartupCheck error for read_ahead_kb
Key: CASSANDRA-19575
URL: https://issues.apache.org/jira/browse/CASSANDRA-19575
Project: Cassandra
Issue Type: Bug
Components: Local/Startup and Shutdown
Reporter: Morten Joenby
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]
{code:java}
String deviceName = blockDirComponents[2].replaceAll("[0-9]*$", "");{code}
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.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org