zecookiez commented on code in PR #50123: URL: https://github.com/apache/spark/pull/50123#discussion_r2014609172
########## sql/core/src/main/scala/org/apache/spark/sql/execution/streaming/ProgressReporter.scala: ########## @@ -283,6 +290,13 @@ abstract class ProgressContext( progressReporter.lastNoExecutionProgressEventTime = triggerClock.getTimeMillis() progressReporter.updateProgress(newProgress) + // Ask the state store coordinator to log all lagging state stores + if (progressReporter.coordinatorReportSnapshotUploadLag) { Review Comment: We do it in both sides right now - this check is added here for both readability and reducing overhead to retrieve the coordinator ref + sending the RPC call -- 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