You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by GitBox <gi...@apache.org> on 2021/04/02 02:32:04 UTC
[GitHub] [kafka] ccding edited a comment on pull request #10405: KAFKA-3968: fsync the parent directory of a segment file when the file is created
ccding edited a comment on pull request #10405:
URL: https://github.com/apache/kafka/pull/10405#issuecomment-812282452
Fixed comments from @junrao
Also addressed the two problems we discussed offline:
- flush the parent of new segments during its first flush: added the `needsFlushParentDir = needsRecovery || !fileAlreadyExists` check
- flush the parent directory after flushing the log file and all index files
Please take a look @junrao
--
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org