prodriguezdefino commented on PR #41072: URL: https://github.com/apache/beam/pull/41072#issuecomment-7156323404
@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! -- 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]
