Tejaskriya commented on code in PR #8029:
URL: https://github.com/apache/ozone/pull/8029#discussion_r1995124102


##########
hadoop-ozone/common/src/main/java/org/apache/hadoop/ozone/om/OMConfigKeys.java:
##########
@@ -622,4 +622,21 @@ private OMConfigKeys() {
   public static final String OZONE_OM_MAX_BUCKET =
       "ozone.om.max.buckets";
   public static final int OZONE_OM_MAX_BUCKET_DEFAULT = 100000;
+  /**
+   * Configuration properties for Compaction Service.
+   */
+  public static final String OZONE_COMPACTION_SERVICE_ENABLED = 
"ozone.compaction.service.enabled";
+  public static final boolean OZONE_COMPACTION_SERVICE_ENABLED_DEFAULT = true;
+  public static final String OZONE_OM_COMPACTION_SERVICE_RUN_INTERVAL =
+      "ozone.om.compaction.service.run.interval";
+  public static final long
+      OZONE_OM_COMPACTION_SERVICE_RUN_INTERVAL_DEFAULT
+      = TimeUnit.MINUTES.toMillis(5);

Review Comment:
   Wouldn't 5mins be very frequent? As this could be a very heavy operation if 
a lot of deletes are happening and we are trying to compact the DB in parallel 
with every run of the deletion services. 
   



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