This is an automated email from the ASF dual-hosted git repository. azagrebin pushed a commit to branch release-1.10 in repository https://gitbox.apache.org/repos/asf/flink.git
The following commit(s) were added to refs/heads/release-1.10 by this push: new 836b8ae [FLINK-15065][docs] Correct default value of RocksDB options in documentation 836b8ae is described below commit 836b8ae4c178be6c91fbb64580361ab50bfecdc0 Author: Yun Tang <myas...@live.com> AuthorDate: Fri Dec 13 16:38:45 2019 +0800 [FLINK-15065][docs] Correct default value of RocksDB options in documentation This refer to https://github.com/facebook/rocksdb/pull/6123 which correctis RocksDB javadoc --- docs/_includes/generated/rocks_db_configurable_configuration.html | 6 +++--- .../flink/contrib/streaming/state/RocksDBConfigurableOptions.java | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/_includes/generated/rocks_db_configurable_configuration.html b/docs/_includes/generated/rocks_db_configurable_configuration.html index 47e3bef..f46fc27 100644 --- a/docs/_includes/generated/rocks_db_configurable_configuration.html +++ b/docs/_includes/generated/rocks_db_configurable_configuration.html @@ -24,13 +24,13 @@ <td><h5>state.backend.rocksdb.compaction.level.max-size-level-base</h5></td> <td style="word-wrap: break-word;">(none)</td> <td>MemorySize</td> - <td>The upper-bound of the total size of level base files in bytes. RocksDB has default configuration as '10MB'.</td> + <td>The upper-bound of the total size of level base files in bytes. RocksDB has default configuration as '256MB'.</td> </tr> <tr> <td><h5>state.backend.rocksdb.compaction.level.target-file-size-base</h5></td> <td style="word-wrap: break-word;">(none)</td> <td>MemorySize</td> - <td>The target file size for compaction, which determines a level-1 file size. RocksDB has default configuration as '2MB'.</td> + <td>The target file size for compaction, which determines a level-1 file size. RocksDB has default configuration as '64MB'.</td> </tr> <tr> <td><h5>state.backend.rocksdb.compaction.level.use-dynamic-size</h5></td> @@ -48,7 +48,7 @@ <td><h5>state.backend.rocksdb.files.open</h5></td> <td style="word-wrap: break-word;">(none)</td> <td>Integer</td> - <td>The maximum number of open files (per TaskManager) that can be used by the DB, '-1' means no limit. RocksDB has default configuration as '5000'.</td> + <td>The maximum number of open files (per TaskManager) that can be used by the DB, '-1' means no limit. RocksDB has default configuration as '-1'.</td> </tr> <tr> <td><h5>state.backend.rocksdb.thread.num</h5></td> diff --git a/flink-state-backends/flink-statebackend-rocksdb/src/main/java/org/apache/flink/contrib/streaming/state/RocksDBConfigurableOptions.java b/flink-state-backends/flink-statebackend-rocksdb/src/main/java/org/apache/flink/contrib/streaming/state/RocksDBConfigurableOptions.java index 1f27c3f..e4dda8b 100644 --- a/flink-state-backends/flink-statebackend-rocksdb/src/main/java/org/apache/flink/contrib/streaming/state/RocksDBConfigurableOptions.java +++ b/flink-state-backends/flink-statebackend-rocksdb/src/main/java/org/apache/flink/contrib/streaming/state/RocksDBConfigurableOptions.java @@ -58,7 +58,7 @@ public class RocksDBConfigurableOptions implements Serializable { .intType() .noDefaultValue() .withDescription("The maximum number of open files (per TaskManager) that can be used by the DB, '-1' means no limit. " + - "RocksDB has default configuration as '5000'."); + "RocksDB has default configuration as '-1'."); //-------------------------------------------------------------------------- // Provided configurable ColumnFamilyOptions within Flink @@ -90,14 +90,14 @@ public class RocksDBConfigurableOptions implements Serializable { .memoryType() .noDefaultValue() .withDescription("The target file size for compaction, which determines a level-1 file size. " + - "RocksDB has default configuration as '2MB'."); + "RocksDB has default configuration as '64MB'."); public static final ConfigOption<MemorySize> MAX_SIZE_LEVEL_BASE = key("state.backend.rocksdb.compaction.level.max-size-level-base") .memoryType() .noDefaultValue() .withDescription("The upper-bound of the total size of level base files in bytes. " + - "RocksDB has default configuration as '10MB'."); + "RocksDB has default configuration as '256MB'."); public static final ConfigOption<MemorySize> WRITE_BUFFER_SIZE = key("state.backend.rocksdb.writebuffer.size")