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
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ public class ScmConfig extends ReconfigurableConfig {

@Config(key = "hdds.scm.block.deletion.per-interval.max",
type = ConfigType.INT,
defaultValue = "100000",
defaultValue = "500000",
reconfigurable = true,
tags = { ConfigTag.SCM, ConfigTag.DELETION},
description =
Expand Down
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 @@ -467,7 +467,7 @@
</property>
<property>
<name>ozone.key.deleting.limit.per.task</name>
<value>20000</value>
<value>50000</value>
<tag>OM, PERFORMANCE</tag>
<description>
A maximum number of keys to be scanned by key deleting service
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -258,13 +258,13 @@ public class DatanodeConfiguration extends ReconfigurableConfig {
private long blockDeleteMaxLockWaitTimeoutMs = Duration.ofMillis(100).toMillis();

@Config(key = "block.deleting.limit.per.interval",
defaultValue = "5000",
defaultValue = "20000",
reconfigurable = true,
type = ConfigType.INT,
tags = { ConfigTag.SCM, ConfigTag.DELETION },
tags = { ConfigTag.SCM, ConfigTag.DELETION, DATANODE },
description = "Number of blocks to be deleted in an interval."
)
private int blockLimitPerInterval = 5000;
private int blockLimitPerInterval = 20000;

@Config(key = "block.deleting.max.lock.holding.time",
defaultValue = "1s",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ public final class OMConfigKeys {

public static final String OZONE_KEY_DELETING_LIMIT_PER_TASK =
"ozone.key.deleting.limit.per.task";
public static final int OZONE_KEY_DELETING_LIMIT_PER_TASK_DEFAULT = 20000;
public static final int OZONE_KEY_DELETING_LIMIT_PER_TASK_DEFAULT = 50000;
public static final String OZONE_SNAPSHOT_KEY_DELETING_LIMIT_PER_TASK =
"ozone.snapshot.key.deleting.limit.per.task";
public static final int OZONE_SNAPSHOT_KEY_DELETING_LIMIT_PER_TASK_DEFAULT
Expand Down