You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Sam Lightfoot (Jira)" <ji...@apache.org> on 2026/05/16 09:28:00 UTC

[jira] [Created] (CASSANDRA-21382) Direct IO support for ZCS writes

Sam Lightfoot created CASSANDRA-21382:
-----------------------------------------

             Summary: Direct IO support for ZCS writes 
                 Key: CASSANDRA-21382
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-21382
             Project: Apache Cassandra
          Issue Type: Improvement
          Components: Local/SSTable
            Reporter: Sam Lightfoot
            Assignee: Sam Lightfoot
             Fix For: 6.x


Follow-up from the implementation for compaction reads (CASSANDRA-19987)

Notable points
 * Update the start-up check that impacts DIO writes ({_}checkKernelBug1057843{_})
 * RocksDB uses 1 MB flush buffer. This should be configurable and performance tested (256KB vs 1MB)
 * Introduce compaction_write_disk_access_mode / backgroud_write_disk_access_mode
 * Support for the compressed path would be most beneficial

 
|OperationType|Writes Data|Direct IO|Reason|
|COMPACTION|Yes|Yes| |
|TOMBSTONE_COMPACTION|Yes|Yes| |
|MAJOR_COMPACTION|Yes|Yes| |
|CLEANUP|Yes|Yes| |
|UPGRADE_SSTABLES|Yes|Yes| |
|GARBAGE_COLLECT|Yes|Yes| |
|ANTICOMPACTION|Yes|Yes| |
|WRITE|Yes|Yes| |
|STREAM|Yes|Yes|Supersedes CASSANDRA-20087|
|SCRUB|Yes|No|Maybe: uses `mark()`/`resetAndTruncate()` for corrupt rollback. Requires additional plumbing.|
|FLUSH|Yes|No|Excluded: flushed data benefits from page cache due to read recency|



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