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:13:34 UTC

[flink] branch release-1.13 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.13
in repository https://gitbox.apache.org/repos/asf/flink.git


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

commit 52c3931c9fda2ac8483fae312e8d265b2226a54c
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 b41c300..e9eb86c 100644
--- a/docs/layouts/shortcodes/generated/rocksdb_configurable_configuration.html
+++ b/docs/layouts/shortcodes/generated/rocksdb_configurable_configuration.html
@@ -66,7 +66,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.write-batch-size</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 f952bb7..0decf0c 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
@@ -62,7 +62,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")