Github user StefanRRichter commented on a diff in the pull request:
https://github.com/apache/flink/pull/3770#discussion_r113415296
--- Diff:
flink-runtime/src/main/java/org/apache/flink/runtime/jobgraph/JobVertex.java ---
@@ -125,6 +132,8 @@ public JobVertex(String name) {
public JobVertex(String name, JobVertexID id) {
this.name = name == null ? DEFAULT_NAME : name;
this.id = id == null ? new JobVertexID() : id;
+ this.operatorIDs.add(new OperatorID(this.id.getLowerPart(),
this.id.getUpperPart()));
+ this.operatorIdsAlternatives.add(null);
--- End diff --
Why is it required to add `null`here, which seems strange? Either this is
not required or indicates some implicit contracts about
`operatorIdsAlternatives` that would at least justify a comment or (even
better) a change. As far as I can see, it is just not required. Or do I miss
something?
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---