parveensania opened a new pull request, #41444:
URL: https://github.com/apache/beam/pull/41444

   Fixes #41108
   
   This PR fixes concurrency issues in GrpcDirectGetWorkStream by recording the 
stream budget synchronously and introducing a stream epoch to prevent 
processing stale extensions.
   
   Previously, itemsRequested and bytesRequested were recorded inside the async 
executeSafely task. This caused issues where concurrent setBudget() calls and 
multi-item response chunks observed outdated in-flight totals.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to