You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2020/12/23 08:15:04 UTC

[GitHub] [flink] KarmaGYZ commented on a change in pull request #13581: [FLINK-17331] Explicitly get the ByteBuf length of all classes which …

KarmaGYZ commented on a change in pull request #13581:
URL: https://github.com/apache/flink/pull/13581#discussion_r547789257



##########
File path: flink-runtime/src/main/java/org/apache/flink/runtime/jobgraph/IntermediateResultPartitionID.java
##########
@@ -30,6 +30,7 @@
 public class IntermediateResultPartitionID implements ResultID {
 
 	private static final long serialVersionUID = 1L;
+	private static final int BYTEBUF_LEN = 20;

Review comment:
       Yes, the extra 4 bytes come from the `partitionNum`.




----------------------------------------------------------------
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:
users@infra.apache.org