Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Mutable stringset race condition #33054

Closed
1 of 17 tasks
Abacn opened this issue Nov 8, 2024 · 1 comment · Fixed by #33057
Closed
1 of 17 tasks

[Bug]: Mutable stringset race condition #33054

Abacn opened this issue Nov 8, 2024 · 1 comment · Fixed by #33057

Comments

@Abacn
Copy link
Contributor

Abacn commented Nov 8, 2024

What happened?

#32650 introduced a race condition when stringset is getting rate (runner about to report metrics) and adding more values. In particular, on Dataflow legacy runer it may throw runtime Exceptions when reading here:

This prominently happens on Beam 2.60.0 streaming pipeline using FileIO read from an unbounded input of file metadata, and files come in with different directories. In this way stringset add does not happen at once, and likely trigger the race

Issue Priority

Priority: 2 (default / most bugs should be filed as P2)

Issue Components

  • Component: Python SDK
  • Component: Java SDK
  • Component: Go SDK
  • Component: Typescript SDK
  • Component: IO connector
  • Component: Beam YAML
  • Component: Beam examples
  • Component: Beam playground
  • Component: Beam katas
  • Component: Website
  • Component: Infrastructure
  • Component: Spark Runner
  • Component: Flink Runner
  • Component: Samza Runner
  • Component: Twister2 Runner
  • Component: Hazelcast Jet Runner
  • Component: Google Cloud Dataflow Runner
@liferoad
Copy link
Collaborator

liferoad commented Nov 8, 2024

Let me know if this does not block 2.61.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants