Commit 060b1b7
authored
[Dataflow Streaming] Remove one wait for GetData (#36417)
Harness threads will no longer wait for sending threads directly.
They'll wait on the responseStream and will observe failures when
the responseStream is cancelled.
Reduces context switches and cpu usage under GetData1 parent 6d5b984 commit 060b1b7
File tree
2 files changed
+6
-9
lines changed- runners/google-cloud-dataflow-java/worker/src/main/java/org/apache/beam/runners/dataflow/worker/windmill/client/grpc
2 files changed
+6
-9
lines changedLines changed: 2 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
502 | 502 | | |
503 | 503 | | |
504 | 504 | | |
505 | | - | |
| 505 | + | |
| 506 | + | |
506 | 507 | | |
507 | | - | |
508 | | - | |
509 | | - | |
510 | 508 | | |
511 | 509 | | |
512 | 510 | | |
| |||
Lines changed: 4 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
190 | 190 | | |
191 | 191 | | |
192 | 192 | | |
193 | | - | |
194 | | - | |
195 | | - | |
196 | | - | |
197 | | - | |
| 193 | + | |
198 | 194 | | |
199 | 195 | | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
200 | 199 | | |
201 | 200 | | |
202 | 201 | | |
| |||
0 commit comments