You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by ta...@apache.org on 2021/11/26 09:12:18 UTC

[flink] branch release-1.14 updated: [FLINK-25067][doc] Correct the description of RocksDB's background threads for flush and compaction

This is an automated email from the ASF dual-hosted git repository.

tangyun pushed a commit to branch release-1.14
in repository https://gitbox.apache.org/repos/asf/flink.git


The following commit(s) were added to refs/heads/release-1.14 by this push:
     new 315f3bc  [FLINK-25067][doc] Correct the description of RocksDB's background threads for flush and compaction
315f3bc is described below

commit 315f3bc8a44cfa2edcfbeacb1f52089406a5471b
Author: Yun Tang <my...@live.com>
AuthorDate: Fri Nov 26 14:14:03 2021 +0800

    [FLINK-25067][doc] Correct the description of RocksDB's background threads for flush and compaction
---
 .../shortcodes/generated/rocksdb_configurable_configuration.html        | 2 +-
 .../flink/contrib/streaming/state/RocksDBConfigurableOptions.java       | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/docs/layouts/shortcodes/generated/rocksdb_configurable_configuration.html b/docs/layouts/shortcodes/generated/rocksdb_configurable_configuration.html
index 523efaa..56b2f9c 100644
--- a/docs/layouts/shortcodes/generated/rocksdb_configurable_configuration.html
+++ b/docs/layouts/shortcodes/generated/rocksdb_configurable_configuration.html
@@ -96,7 +96,7 @@
             <td><h5>state.backend.rocksdb.thread.num</h5></td>
             <td style="word-wrap: break-word;">(none)</td>
             <td>Integer</td>
-            <td>The maximum number of concurrent background flush and compaction jobs (per stateful operator). RocksDB has default configuration as '1'.</td>
+            <td>The maximum number of concurrent background flush and compaction jobs (per stateful operator). RocksDB has default configuration as '2'.</td>
         </tr>
         <tr>
             <td><h5>state.backend.rocksdb.use-bloom-filter</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 807c0e7..955a86c 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 {
                     .noDefaultValue()
                     .withDescription(
                             "The maximum number of concurrent background flush and compaction jobs (per stateful operator). "
-                                    + "RocksDB has default configuration as '1'.");
+                                    + "RocksDB has default configuration as '2'.");
 
     public static final ConfigOption<Integer> MAX_OPEN_FILES =
             key("state.backend.rocksdb.files.open")