mxm commented on a change in pull request #7276: [FLINK-10566] Fix exponential
planning time of large programs
URL: https://github.com/apache/flink/pull/7276#discussion_r240973802
##########
File path: flink-core/src/main/java/org/apache/flink/api/common/Plan.java
##########
@@ -362,9 +363,13 @@ public int getMaximumParallelism() {
private static final class MaxDopVisitor implements
Visitor<Operator<?>> {
private int maxDop = -1;
+ private Set<Operator> visitedOperators = new HashSet<>();
Review comment:
Yes, will make it final.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services