s0nskar commented on code in PR #3653:
URL: https://github.com/apache/celeborn/pull/3653#discussion_r3057849461


##########
worker/src/main/scala/org/apache/celeborn/service/deploy/worker/PushDataHandler.scala:
##########
@@ -1456,8 +1456,10 @@ class PushDataHandler(val workerSource: WorkerSource) 
extends BaseMessageHandler
          |""".stripMargin)
     val diskFileInfo = fileWriter.getDiskFileInfo
     if (diskFileInfo != null) {
-      if (workerPartitionSplitEnabled && ((diskFull && 
diskFileInfo.getFileLength > partitionSplitMinimumSize) ||
-          (isPrimary && diskFileInfo.getFileLength > 
fileWriter.getSplitThreshold))) {
+      if (workerPartitionSplitEnabled && diskFull && 
(diskFileInfo.getFileLength >= partitionSplitMinimumSize)) {

Review Comment:
   In case of disk full, do we need check `diskFileInfo.getFileLength >= 
partitionSplitMinimumSize` ? I think main priority should be save the remaining 
buffer disk space and send HARD_SPLIT for every partition.



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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to