Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.14.0, 1.13.1, 1.12.4
Description
In current PartitionRequestClientFactory#createPartitionRequestClient, ChannelFuture#await() is invoked, thus to build a connection to remote synchronously.
But with the doc of io.netty.util.concurrent.Future [1] and its implementation io.netty.channel.DefaultChannelPromise [2], ChannelFuture#await() never throws when completed with failure. I guess what Flink needs is ChannelFuture#sync().
[1] https://netty.io/4.1/api/io/netty/util/concurrent/class-use/Future.html
Attachments
Issue Links
- causes
-
FLINK-24133 PartitionRequestClientFactoryTest.testThrowsWhenNetworkFailure fails on Azure
- Closed
- links to