smiklosovic commented on code in PR #3868:
URL: https://github.com/apache/cassandra/pull/3868#discussion_r1942108229
##########
src/java/org/apache/cassandra/config/DatabaseDescriptor.java:
##########
@@ -1480,24 +1480,28 @@ private static Pair<DiskAccessMode, Boolean>
resolveCommitLogWriteDiskAccessMode
{
boolean compressOrEncrypt = getCommitLogCompression() != null ||
(getEncryptionContext() != null && getEncryptionContext().isEnabled());
boolean directIOSupported = false;
- try
+ // File.getBlockSize creates directories/files tools may not have
permissions for
+ if (!toolInitialized)
Review Comment:
@jonmeredith can you just `return` when `toolInitialized` is true? Then we
do not need to have all that logic in `if`.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]