jerrypeng commented on code in PR #55676:
URL: https://github.com/apache/spark/pull/55676#discussion_r3192970021
##########
sql/core/src/main/scala/org/apache/spark/sql/execution/streaming/runtime/AsyncProgressTrackingMicroBatchExecution.scala:
##########
@@ -295,6 +303,11 @@ class AsyncProgressTrackingMicroBatchExecution(
}
}
+ private def recordAsyncWriteError(th: Throwable): Unit = {
+ firstAsyncWriteError.compareAndSet(null, th)
+ errorNotifier.markError(th)
Review Comment:
Why not just use the errorNotifier?
--
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]