RexXiong commented on code in PR #2716:
URL: https://github.com/apache/celeborn/pull/2716#discussion_r1742217342
##########
common/src/main/java/org/apache/celeborn/common/meta/MapFileMeta.java:
##########
@@ -17,16 +17,38 @@
package org.apache.celeborn.common.meta;
+import java.util.ArrayList;
+import java.util.Collections;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+
public class MapFileMeta implements FileMeta {
private int bufferSize;
private int numSubPartitions;
private String mountPoint;
+ private Map<Integer, Integer> subPartitionWritingSegmentId;
+ private List<SegmentIndex> subPartitionSegmentIndexes;
+ private volatile boolean hasWriteFinished;
Review Comment:
hasWriteFinished -> isWriterClosed? Seems this field also need persistent
for recovery.
--
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]