TanYuxin-tyx commented on code in PR #23255:
URL: https://github.com/apache/flink/pull/23255#discussion_r1319720134
##########
flink-runtime/src/main/java/org/apache/flink/runtime/io/network/partition/hybrid/tiered/file/ProducerMergedPartitionFileIndex.java:
##########
@@ -257,20 +266,28 @@ public FixedSizeRegion readRegionFromFile(FileChannel
channel, long fileOffset)
*/
public static class FixedSizeRegion implements
FileDataIndexRegionHelper.Region {
- public static final int REGION_SIZE = Integer.BYTES + Long.BYTES +
Integer.BYTES;
+ public static final int REGION_SIZE =
+ Integer.BYTES + Long.BYTES + Integer.BYTES + Long.BYTES;
/** The buffer index of first buffer. */
private final int firstBufferIndex;
/** The file offset of the region. */
private final long regionFileOffset;
+ private final long regionFileEndOffset;
Review Comment:
I use `regionEndOffset` and `regionStartOffset` instead.
--
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]