Skip to content

Commit

Permalink
shuttle: When closing the flow control request, the connection of bui…
Browse files Browse the repository at this point in the history
…ld conn is not created
  • Loading branch information
bigbigxu committed Jul 18, 2022
1 parent 0c6fecb commit 78fd61e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/main/java/com/oppo/shuttle/rss/clients/NettyClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,10 @@ public Tuple2<ShuffleClient, ShuffleClient> getClient(int workerId, int retry, O
Ors2WorkerDetail useServer = serverGroup.getServer(workerId, retry, errorServer);
for (int i = 0; i < loopTimes; i++) {
try {
ShuffleClient buildClient = getBuildClient(useServer);
ShuffleClient buildClient = null;
if (flowControlEnable) {
buildClient = getBuildClient(useServer);
}
ShuffleClient dataClient = getDataClient(useServer);
return Tuple2.apply(buildClient, dataClient);
} catch (RuntimeException e) {
Expand Down

0 comments on commit 78fd61e

Please sign in to comment.