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

[SPARK-50735][CONNECT] Failure in ExecuteResponseObserver results in infinite reattaching requests #49370

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

changgyoopark-db
Copy link
Contributor

What changes were proposed in this pull request?

ExecuteGrpcResponseSender checks whether the associated ExecuteThreadRunner is completed to return an error if the ExecuteThreadRunner has failed to record the outcome.

Why are the changes needed?

ExecuteResponseObserver.{onError, onComplete} are fallible while they are not retried; this leads to a situation where the ExecuteThreadRunner is completed without succeeding in responding to the client, and thus the client keeps retrying by reattaching the execution.

Does this PR introduce any user-facing change?

No.

How was this patch tested?

testOnly org.apache.spark.sql.connect.service.SparkConnectServiceE2ESuite

Was this patch authored or co-authored using generative AI tooling?

No.

@changgyoopark-db changgyoopark-db force-pushed the SPARK-50735 branch 3 times, most recently from ea1cde1 to e495228 Compare January 6, 2025 13:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant