neilramaswamy commented on code in PR #47475: URL: https://github.com/apache/spark/pull/47475#discussion_r1690692860
########## sql/core/src/main/scala/org/apache/spark/sql/execution/streaming/state/StateStore.scala: ########## @@ -881,7 +862,8 @@ object StateStore extends Logging { case NonFatal(e) => logWarning(log"Error managing ${MDC(LogKeys.STATE_STORE_PROVIDER, provider)}, " + log"stopping management thread", e) - threadPoolException.set(e) Review Comment: Yes, that's true. I think that trade-off is fine. If there really is some general, global error (I have never seen this; can you give an example?), then presumably every thread will see it and will be unloaded. -- 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: reviews-unsubscr...@spark.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org