lindong28 commented on a change in pull request #15633:
URL: https://github.com/apache/flink/pull/15633#discussion_r614521887
##########
File path:
flink-test-utils-parent/flink-test-utils/src/main/java/org/apache/flink/networking/NetworkFailureHandler.java
##########
@@ -48,6 +48,9 @@
private static final Logger LOG =
LoggerFactory.getLogger(NetworkFailureHandler.class);
private static final String TARGET_CHANNEL_HANDLER_NAME =
"target_channel_handler";
+ // They key set of this map contains the channels that are being closed.
This is needed to
+ // prevent closeOnFlush() from being called recursively.
+ private static final Map<Channel, Channel> channelsBeingClosed = new
ConcurrentHashMap<>();
Review comment:
Thanks @dawidwys. This is nice to know. I have updated PR as suggested.
--
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:
[email protected]