Siyao Meng created HDDS-13473:
---------------------------------
Summary: Amend validation for OZONE_OM_SNAPSHOT_DB_MAX_OPEN_FILES
Key: HDDS-13473
URL: https://issues.apache.org/jira/browse/HDDS-13473
Project: Apache Ozone
Issue Type: Sub-task
Reporter: Siyao Meng
Assignee: Siyao Meng
Context: https://github.com/apache/ozone/pull/8787#discussion_r2212829117
-1 is a valid value for {{max_open_files}} option
bq. max_open_files -- RocksDB keeps all file descriptors in a table cache. If
number of file descriptors exceeds max_open_files, some files are evicted from
table cache and their file descriptors closed. This means that every read must
go through the table cache to lookup the file needed. Set max_open_files to -1
to always keep all files open, which avoids expensive table cache calls.
https://github.com/facebook/rocksdb/wiki/RocksDB-Tuning-Guide#tuning-other-options
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]