SteNicholas commented on code in PR #3350:
URL: https://github.com/apache/celeborn/pull/3350#discussion_r2181466127
##########
worker/src/main/scala/org/apache/celeborn/service/deploy/worker/storage/PartitionMetaHandler.scala:
##########
@@ -105,8 +105,7 @@ class MapPartitionMetaHandler(
var currentSubpartition = 0
private var totalBytes = 0L
private var regionStartingOffset = 0L
- var indexChannel: FileChannel =
- FileChannelUtils.createWritableFileChannel(diskFileInfo.getIndexPath)
+ var indexChannel: FileChannel = createIndexChannelIfLocalCluster
Review Comment:
```suggestion
var indexChannel: FileChannel = createIndexFile
```
--
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]