ccding commented on a change in pull request #10405:
URL: https://github.com/apache/kafka/pull/10405#discussion_r605903207
##########
File path: core/src/main/scala/kafka/log/LogManager.scala
##########
@@ -848,6 +849,7 @@ class LogManager(logDirs: Seq[File],
val dir = new File(logDirPath, logDirName)
try {
Files.createDirectories(dir.toPath)
+ Utils.flushParentDir(dir.toPath)
Review comment:
Per our offline discussion, we decided not to flush at deletion.
Deletions are async and can be retried after rebooting.
--
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:
[email protected]