This is an automated email from the ASF dual-hosted git repository.

jojochuang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ozone.git


The following commit(s) were added to refs/heads/master by this push:
     new 041f5ffad07 HDDS-15187. Enable ozone.snapshot.deep.cleaning.enabled by 
default. (#10216)
041f5ffad07 is described below

commit 041f5ffad07a474179187b265033f5092b5bd0af
Author: Wei-Chiu Chuang <[email protected]>
AuthorDate: Tue May 12 15:07:34 2026 -0700

    HDDS-15187. Enable ozone.snapshot.deep.cleaning.enabled by default. (#10216)
---
 hadoop-hdds/common/src/main/resources/ozone-default.xml                 | 2 +-
 hadoop-hdds/docs/content/feature/Snapshot-Configuration-Properties.md   | 2 +-
 .../common/src/main/java/org/apache/hadoop/ozone/om/OMConfigKeys.java   | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/hadoop-hdds/common/src/main/resources/ozone-default.xml 
b/hadoop-hdds/common/src/main/resources/ozone-default.xml
index d0a96e93228..b681e3bdd2e 100644
--- a/hadoop-hdds/common/src/main/resources/ozone-default.xml
+++ b/hadoop-hdds/common/src/main/resources/ozone-default.xml
@@ -4045,7 +4045,7 @@
 
   <property>
     <name>ozone.snapshot.deep.cleaning.enabled</name>
-    <value>false</value>
+    <value>true</value>
     <tag>OZONE, PERFORMANCE, OM, DELETION</tag>
     <description>
       Flag to enable/disable snapshot deep cleaning.
diff --git 
a/hadoop-hdds/docs/content/feature/Snapshot-Configuration-Properties.md 
b/hadoop-hdds/docs/content/feature/Snapshot-Configuration-Properties.md
index 90c5d0ca616..3b530e19958 100644
--- a/hadoop-hdds/docs/content/feature/Snapshot-Configuration-Properties.md
+++ b/hadoop-hdds/docs/content/feature/Snapshot-Configuration-Properties.md
@@ -63,7 +63,7 @@ These parameters, defined in `ozone-site.xml`, control how 
Ozone manages snapsho
     *   `ozone.snapshot.filtering.service.interval`: Interval for the snapshot 
filtering service (Default: 60s).
     *   `ozone.snapshot.deleting.service.timeout`: Timeout for the snapshot 
deleting service (Default: 300s).
     *   `ozone.snapshot.deleting.service.interval`: Interval for the snapshot 
deleting service (Default: 30s).
-    *   `ozone.snapshot.deep.cleaning.enabled`: Enable deep cleaning of 
snapshots (Default: false).
+    *   `ozone.snapshot.deep.cleaning.enabled`: Enable deep cleaning of 
snapshots (Default: true).
 
 *   **Performance and Resource Management**
     *   `ozone.om.snapshot.rocksdb.metrics.enabled`: Enable detailed RocksDB 
metrics for snapshots (Default: false). Use for debugging/monitoring.
diff --git 
a/hadoop-ozone/common/src/main/java/org/apache/hadoop/ozone/om/OMConfigKeys.java
 
b/hadoop-ozone/common/src/main/java/org/apache/hadoop/ozone/om/OMConfigKeys.java
index ea17ad9ca85..a773db9ccad 100644
--- 
a/hadoop-ozone/common/src/main/java/org/apache/hadoop/ozone/om/OMConfigKeys.java
+++ 
b/hadoop-ozone/common/src/main/java/org/apache/hadoop/ozone/om/OMConfigKeys.java
@@ -401,7 +401,7 @@ public final class OMConfigKeys {
    * Configuration properties for Snapshot Directory Service.
    */
   public static final String OZONE_SNAPSHOT_DEEP_CLEANING_ENABLED = 
"ozone.snapshot.deep.cleaning.enabled";
-  public static final boolean OZONE_SNAPSHOT_DEEP_CLEANING_ENABLED_DEFAULT = 
false;
+  public static final boolean OZONE_SNAPSHOT_DEEP_CLEANING_ENABLED_DEFAULT = 
true;
   /**
    * DirectoryDeepCleaning snapshots have been moved from 
SnapshotDirectoryCleaningService to DirectoryDeletingService.
    * Configs related to SnapshotDirectoryCleaningService are deprecated as 
this won't be used anywhere.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to