shunping commented on PR #41072:
URL: https://github.com/apache/beam/pull/41072#issuecomment-7167676738

   > @shunping to be honest, I originally ran into this while testing a Rust 
SDK implementation against Prism, and only reproduced it unfrequently when 
trying to translate it into a quick Python snippet for the PR description. 
Possibly Python's GIL plays a part here and the machine / resources in use as 
well.
   > 
   > I replaced the snippet in the PR description with a Go SDK reproduction 
(`TestConcurrentBundleShortIDMetrics` in prism/internal), where the worker 
goroutines finish in parallel. It fails 10/10 times on master (committed = 1, 
want 4) and passes 10/10 times with this PR (committed = 4).
   > 
   > Happy to also commit that test into `execute_test.go` if you think it's 
worth keeping in the suite!
   
   I see. That makes more sense now. I think we will need do dig a little 
deeper to see why  Python SDK does not have this problem, but Go SDK and the 
Rust SDK have it. Let's rule out it is a SDK issue first before we make the 
change to the runner.


-- 
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