This is an automated email from the ASF dual-hosted git repository.
adoroszlai 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 9f16b37684 HDDS-12220. Limit OM/SCM/Recon RocksDB max user log files
total size (#7847)
9f16b37684 is described below
commit 9f16b37684b38405cea1551feef5414d9c76cdd8
Author: Gargi Jaiswal <[email protected]>
AuthorDate: Tue Feb 11 22:38:03 2025 +0530
HDDS-12220. Limit OM/SCM/Recon RocksDB max user log files total size (#7847)
---
.../org/apache/hadoop/hdds/utils/db/RocksDBConfiguration.java | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git
a/hadoop-hdds/framework/src/main/java/org/apache/hadoop/hdds/utils/db/RocksDBConfiguration.java
b/hadoop-hdds/framework/src/main/java/org/apache/hadoop/hdds/utils/db/RocksDBConfiguration.java
index dd197affe9..3e71558080 100644
---
a/hadoop-hdds/framework/src/main/java/org/apache/hadoop/hdds/utils/db/RocksDBConfiguration.java
+++
b/hadoop-hdds/framework/src/main/java/org/apache/hadoop/hdds/utils/db/RocksDBConfiguration.java
@@ -48,17 +48,17 @@ public class RocksDBConfiguration {
@Config(key = "rocksdb.max.log.file.size",
type = ConfigType.SIZE,
- defaultValue = "0MB",
+ defaultValue = "100MB",
tags = {OM, SCM, DATANODE},
description = "Maximum size of RocksDB application log file.")
- private long rocksdbMaxLogFileSize = 0;
+ private long rocksdbMaxLogFileSize = 100 * 1024 * 1024;
@Config(key = "rocksdb.keep.log.file.num",
type = ConfigType.INT,
- defaultValue = "1000",
+ defaultValue = "10",
tags = {OM, SCM, DATANODE},
description = "Maximum number of RocksDB application log files.")
- private int rocksdbKeepLogFileNum = 1000;
+ private int rocksdbKeepLogFileNum = 10;
@Config(key = "rocksdb.writeoption.sync",
type = ConfigType.BOOLEAN,
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]