cloud-fan commented on code in PR #52336:
URL: https://github.com/apache/spark/pull/52336#discussion_r2371455532


##########
core/src/main/scala/org/apache/spark/internal/config/package.scala:
##########
@@ -1679,6 +1679,15 @@ package object config {
       .checkValues(Set("ADLER32", "CRC32", "CRC32C"))
       .createWithDefault("ADLER32")
 
+  private[spark] val SCHEDULER_CHECKSUM_MISMATCH_FULL_RETRY_ENABLED =
+    ConfigBuilder("spark.scheduler.checksumMismatchFullRetry.enabled")
+      .doc("Whether to retry all tasks of a consumer stage when we detect 
checksum mismatches " +
+        "with its producer stages. The checksum computation is controlled by 
another config " +
+        "called SHUFFLE_ORDER_INDEPENDENT_CHECKSUM_ENABLED.")

Review Comment:
   We can improve it a bit more: we will compute checksum when either 
`SHUFFLE_ORDER_INDEPENDENT_CHECKSUM_ENABLED` or 
`SCHEDULER_CHECKSUM_MISMATCH_FULL_RETRY_ENABLED` is enabled.



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