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

Deadlock in AsyncLookupDoFn #5150

Closed
RustedBones opened this issue Jan 10, 2024 · 1 comment
Closed

Deadlock in AsyncLookupDoFn #5150

RustedBones opened this issue Jan 10, 2024 · 1 comment
Labels
bug Something isn't working
Milestone

Comments

@RustedBones
Copy link
Contributor

Some dead-lock have been observed on the GrpcDoFn with the following trace

Operation ongoing in step Perform Terminator request/parDo:1 for at least 10m00s without outputting or completing in state finish in thread pool-4-thread-19 with id 78
  at java.base@11.0.20/jdk.internal.misc.Unsafe.park(Native Method)
  at java.base@11.0.20/java.util.concurrent.locks.LockSupport.park(LockSupport.java:194)
  at app//com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:561)
  at app//com.google.common.util.concurrent.AbstractFuture$TrustedFuture.get(AbstractFuture.java:111)
  at app//com.spotify.scio.transforms.FutureHandlers$Guava.waitForFutures(FutureHandlers.java:49)
  at app//com.spotify.scio.transforms.BaseAsyncLookupDoFn.finishBundle(BaseAsyncLookupDoFn.java:199)
  at app//com.spotify.scio.grpc.GrpcDoFn$DoFnInvoker.invokeFinishBundle(Unknown Source)

This indicates one for the future never completes, though the stub was configured with a deadline.

@RustedBones RustedBones added the bug Something isn't working label Jan 15, 2024
@RustedBones RustedBones added this to the 0.14.0 milestone Jan 29, 2024
@RustedBones
Copy link
Contributor Author

Potentially fixed by #5209. Will wait for confirmation before closing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant