Skip to content

CASSANDRA-21673 Fix incorrect fsync usage - #5151

Open
alanwang67 wants to merge 1 commit into
apache:trunkfrom
alanwang67:sync
Open

CASSANDRA-21673 Fix incorrect fsync usage#5151
alanwang67 wants to merge 1 commit into
apache:trunkfrom
alanwang67:sync

Conversation

@alanwang67

Copy link
Copy Markdown
Contributor
  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

patch by Alan Wang;

reviewed by for CASSANDRA-21673

Co-authored-by: Name1
Co-authored-by: Name2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant