You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Alan Wang (Jira)" <ji...@apache.org> on 2026/09/15 21:39:00 UTC
[jira] [Updated] (CASSANDRA-21673) Fix incorrect fsync usage
[ https://issues.apache.org/jira/browse/CASSANDRA-21673?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alan Wang updated CASSANDRA-21673:
----------------------------------
Description:
# In FileUtils, we do not flush the buffer prior to calling fsync
# When rewriting SSTableMetadata we do not call fsync
# We do not call fsync on the parent directory in Paxos Ballot
# CommitLogSegment does not fsync logFile directory
# fsync file directory in hints writer
# fsync file directory for UncommittedDataFile.Writer.finish
# In AutoSavingCache, we do not flush prior to calling fsync
# In JsonUtils, we do not flush prior to calling fsync
was:
1. In FileUtils, we do not flush the buffer prior to calling fsync
2. When rewriting SSTableMetadata we do not call fsync
3. We do not call fsync on the parent directory in Paxos Ballot
4. CommitLogSegment does not fsync logFile directory
5. fsync file directory in hints writer
6. fsync file directory for UncommittedDataFile.Writer.finish
> Fix incorrect fsync usage
> -------------------------
>
> Key: CASSANDRA-21673
> URL: https://issues.apache.org/jira/browse/CASSANDRA-21673
> Project: Apache Cassandra
> Issue Type: Bug
> Reporter: Alan Wang
> Assignee: Alan Wang
> Priority: Normal
> Time Spent: 10m
> Remaining Estimate: 0h
>
> # In FileUtils, we do not flush the buffer prior to calling fsync
> # When rewriting SSTableMetadata we do not call fsync
> # We do not call fsync on the parent directory in Paxos Ballot
> # CommitLogSegment does not fsync logFile directory
> # fsync file directory in hints writer
> # fsync file directory for UncommittedDataFile.Writer.finish
> # In AutoSavingCache, we do not flush prior to calling fsync
> # In JsonUtils, we do not flush prior to calling fsync
--
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