cdkrot opened a new pull request, #44144:
URL: https://github.com/apache/spark/pull/44144

   ### What changes were proposed in this pull request?
   
   Add safe guards into SparkConnectClient to forbid recursion during error 
handling.
   
   ### Why are the changes needed?
   
   There is a certain codepath which can make existing error handling fall into 
infinite recursion. I.e. consider following codepath:
   
   `[Some error happens] -> _handle_error -> _handle_rpc_error -> 
_display_server_stack_trace -> RuntimeConf.get -> config -> [An error happens] 
-> _handle_error`.
   
   There could be more codepaths like that too.
   
   ### Does this PR introduce _any_ user-facing change?
   
   Gets rid of potentially recursive error handling (which can cause downgraded 
user experience)
   
   ### How was this patch tested?
   TODO
   
   ### Was this patch authored or co-authored using generative AI tooling?
   No


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to