You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "smengcl (via GitHub)" <gi...@apache.org> on 2023/02/14 23:29:39 UTC

[GitHub] [ozone] smengcl commented on a diff in pull request #4244: HDDS-7740. Implement SnapshotDeletingService

smengcl commented on code in PR #4244:
URL: https://github.com/apache/ozone/pull/4244#discussion_r1106483293


##########
hadoop-hdds/common/src/main/java/org/apache/hadoop/ozone/OzoneConfigKeys.java:
##########
@@ -234,6 +234,16 @@ public final class OzoneConfigKeys {
       OZONE_SNAPSHOT_SST_FILTERING_SERVICE_TIMEOUT_DEFAULT = "300s";
       // 300s for default
 
+  public static final String OZONE_SNAPSHOT_DELETION_SERVICE_INTERVAL =
+      "ozone.snapshot.deletion.service.interval";
+  public static final String
+      OZONE_SNAPSHOT_DELETION_SERVICE_INTERVAL_DEFAULT = "30s";
+
+  public static final String OZONE_SNAPSHOT_DELETION_SERVICE_TIMEOUT =
+      "ozone.snapshot.deletion.service.timeout";
+  public static final String
+      OZONE_SNAPSHOT_DELETION_SERVICE_TIMEOUT_DEFAULT = "300s";

Review Comment:
   Just a note that this is not a hard time-out that would stop task execution. AFAIK similar to other tasks this would only [print out a warning](https://github.com/apache/ozone/blob/a66e43e2838f087229cb4b0fac1e1dc969ab80dd/hadoop-hdds/common/src/main/java/org/apache/hadoop/hdds/utils/BackgroundService.java#L129-L132) if the task run exceed the given time.



-- 
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: issues-unsubscribe@ozone.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org