FMX commented on code in PR #3488:
URL: https://github.com/apache/celeborn/pull/3488#discussion_r2372142357


##########
common/src/main/scala/org/apache/celeborn/common/CelebornConf.scala:
##########
@@ -3915,6 +3917,17 @@ object CelebornConf extends Logging {
       .booleanConf
       .createWithDefault(false)
 
+  val WORKER_GRACEFUL_SHUTDOWN_DB_DELETE_FAILURE_POLICY: ConfigEntry[String] =
+    buildConf("celeborn.worker.graceful.shutdown.dbDeleteFailurePolicy")
+      .categories("worker")
+      .doc("Policy for handling DB delete failures during graceful shutdown. " 
+
+        "THROW: throw exception (default), EXIT: trigger graceful shutdown, 
IGNORE: log error and continue.")
+      .version("0.7.0")
+      .stringConf
+      .transform(_.toUpperCase(Locale.ROOT))
+      .checkValues(Set("THROW", "EXIT", "IGNORE"))
+      .createWithDefault("THROW")

Review Comment:
   Default value can be IGNORE if the recovery DB is corrupted.



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

Reply via email to