jacek-lewandowski commented on code in PR #2894:
URL: https://github.com/apache/cassandra/pull/2894#discussion_r1404212222


##########
conf/cassandra.yaml:
##########
@@ -606,6 +606,16 @@ commitlog_segment_size: 32MiB
 #     parameters:
 #         -
 
+# Set the disk access mode for writing commitlog segments. The allowed values 
are:
+# - auto: version dependent optimal setting
+# - legacy: the default mode as used in Cassandra 4.x and earlier (standard 
I/O when the commitlog is either
+#   compressed or encrypted or mmap otherwise)
+# - mmap: use memory mapped I/O - available only when the commitlog is neither 
compressed nor encrypted
+# - direct: use direct I/O - available only when the commitlog is neither 
compressed nor encrypted
+# - standard: use standard I/O - available only when the commitlog is 
compressed or encrypted
+# The default setting is legacy when the storage compatibility is set to 4 or 
auto otherwise.
+commitlog_disk_access_mode: auto

Review Comment:
   yes, I temporarily made this change to run tests with the feature enabled



-- 
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]

Reply via email to