Commit 805e3fb
[SPARK-37462][CORE] Avoid unnecessary calculating the number of outstanding fetch requests and RPCS
### What changes were proposed in this pull request?
Avoid unnecessary calculating the number of outstanding fetch requests and RPCS
### Why are the changes needed?
It is unnecessary to calculate the number of outstanding fetch requests and RPCS when the IdleStateEvent is not IDLE or the last request is not timeout.
### Does this PR introduce _any_ user-facing change?
No.
### How was this patch tested?
Exist unittests.
Closes #34711 from weixiuli/SPARK-37462.
Authored-by: weixiuli <weixiuli@jd.com>
Signed-off-by: Sean Owen <srowen@gmail.com>1 parent f6be769 commit 805e3fb
File tree
1 file changed
+1
-1
lines changed- common/network-common/src/main/java/org/apache/spark/network/server
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
158 | 158 | | |
159 | 159 | | |
160 | 160 | | |
161 | | - | |
162 | 161 | | |
163 | 162 | | |
164 | 163 | | |
| 164 | + | |
165 | 165 | | |
166 | 166 | | |
167 | 167 | | |
| |||
0 commit comments