gengliangwang commented on code in PR #45879:
URL: https://github.com/apache/spark/pull/45879#discussion_r1556331340
##########
connector/connect/common/src/main/scala/org/apache/spark/sql/connect/client/GrpcRetryHandler.scala:
##########
@@ -197,18 +200,20 @@ private[sql] object GrpcRetryHandler extends Logging {
if (time.isDefined) {
logWarning(
- s"Non-Fatal error during RPC execution: $lastException, retrying "
+
- s"(wait=${time.get.toMillis}, currentRetryNum=$currentRetryNum,
" +
- s"policy: ${policy.getName})")
+ log"Retrying (wait=${MDC(WAIT_TIME, time.get.toMillis)}, " +
Review Comment:
We can also use `ERROR` for lastException. Either way is ok.
--
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]