You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@celeborn.apache.org by "SteNicholas (via GitHub)" <gi...@apache.org> on 2024/04/01 11:55:06 UTC
Re: [PR] [CELEBORN-1361] MaxInFlightPerWorker should use the value provided by PushStrategy [celeborn]
SteNicholas commented on code in PR #2432:
URL: https://github.com/apache/celeborn/pull/2432#discussion_r1546249832
##########
client/src/main/java/org/apache/celeborn/client/write/DataPushQueue.java:
##########
@@ -106,7 +104,7 @@ public ArrayList<PushTask> takePushTasks() throws IOException, InterruptedExcept
if (loc != null) {
Integer oldCapacity = workerCapacity.get(loc.hostAndPushPort());
if (oldCapacity == null) {
- oldCapacity = maxInFlightPerWorker - pushState.inflightPushes(loc.hostAndPushPort());
+ oldCapacity = pushState.remainingAllowPushes(loc.hostAndPushPort());
Review Comment:
This changes means that the amount of netty in-flight requests per worker could not be configured, which cause that the user could not control the amount.
--
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.
To unsubscribe, e-mail: issues-unsubscribe@celeborn.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org