Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion hadoop-hdds/common/src/main/resources/ozone-default.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down