You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by tr...@apache.org on 2020/08/18 07:14:16 UTC

[flink] branch release-1.11 updated: [hotfix][docs] Replaced outdated 'RocksDBStateBackend.setOptions(..)' by 'RocksDBStateBackend.setRocksDBOptions(..)' and fixed typo in parameter list (PptionsFactory -> RocksDBOptionsFactory).

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

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


The following commit(s) were added to refs/heads/release-1.11 by this push:
     new 1caf0b3  [hotfix][docs] Replaced outdated 'RocksDBStateBackend.setOptions(..)' by 'RocksDBStateBackend.setRocksDBOptions(..)' and fixed typo in parameter list (PptionsFactory -> RocksDBOptionsFactory).
1caf0b3 is described below

commit 1caf0b34b9653175d1e33125f8f59192bb34ead0
Author: Matthias Pohl <ma...@ververica.com>
AuthorDate: Tue Aug 18 08:30:28 2020 +0200

    [hotfix][docs] Replaced outdated 'RocksDBStateBackend.setOptions(..)' by 'RocksDBStateBackend.setRocksDBOptions(..)' and fixed typo in parameter list (PptionsFactory -> RocksDBOptionsFactory).
    
    This closes #13185.
---
 docs/ops/config.md                  | 2 +-
 docs/ops/config.zh.md               | 2 +-
 docs/ops/state/state_backends.md    | 2 +-
 docs/ops/state/state_backends.zh.md | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/docs/ops/config.md b/docs/ops/config.md
index 3e80576..4888a91 100644
--- a/docs/ops/config.md
+++ b/docs/ops/config.md
@@ -310,7 +310,7 @@ Advanced options to tune RocksDB and RocksDB checkpoints.
 **RocksDB Configurable Options**
 
 These options give fine-grained control over the behavior and resoures of ColumnFamilies.
-With the introduction of `state.backend.rocksdb.memory.managed` and `state.backend.rocksdb.memory.fixed-per-slot` (Apache Flink 1.10), it should be only necessary to use the options here for advanced performance tuning. These options here can also be specified in the application program via `RocksDBStateBackend.setOptions(PptionsFactory)`.
+With the introduction of `state.backend.rocksdb.memory.managed` and `state.backend.rocksdb.memory.fixed-per-slot` (Apache Flink 1.10), it should be only necessary to use the options here for advanced performance tuning. These options here can also be specified in the application program via `RocksDBStateBackend.setRocksDBOptions(RocksDBOptionsFactory)`.
 
 {% include generated/rocks_db_configurable_configuration.html %}
 
diff --git a/docs/ops/config.zh.md b/docs/ops/config.zh.md
index 71200a5..df991a0 100644
--- a/docs/ops/config.zh.md
+++ b/docs/ops/config.zh.md
@@ -310,7 +310,7 @@ Advanced options to tune RocksDB and RocksDB checkpoints.
 **RocksDB Configurable Options**
 
 These options give fine-grained control over the behavior and resoures of ColumnFamilies.
-With the introduction of `state.backend.rocksdb.memory.managed` and `state.backend.rocksdb.memory.fixed-per-slot` (Apache Flink 1.10), it should be only necessary to use the options here for advanced performance tuning. These options here can also be specified in the application program via `RocksDBStateBackend.setOptions(PptionsFactory)`.
+With the introduction of `state.backend.rocksdb.memory.managed` and `state.backend.rocksdb.memory.fixed-per-slot` (Apache Flink 1.10), it should be only necessary to use the options here for advanced performance tuning. These options here can also be specified in the application program via `RocksDBStateBackend.setRocksDBOptions(RocksDBOptionsFactory)`.
 
 {% include generated/rocks_db_configurable_configuration.html %}
 
diff --git a/docs/ops/state/state_backends.md b/docs/ops/state/state_backends.md
index f750a5d..6b0ae0e 100644
--- a/docs/ops/state/state_backends.md
+++ b/docs/ops/state/state_backends.md
@@ -290,7 +290,7 @@ There are two ways to pass a RocksDBOptionsFactory to the RocksDB State Backend:
 
   - Configure options factory class name in the `flink-conf.yaml` via `state.backend.rocksdb.options-factory`.
   
-  - Set the options factory programmatically, e.g. `RocksDBStateBackend.setOptions(new MyOptionsFactory());`
+  - Set the options factory programmatically, e.g. `RocksDBStateBackend.setRocksDBOptions(new MyOptionsFactory());`
 
 <span class="label label-info">Note</span> Options factory which set programmatically would override the one configured via `flink-conf.yaml`,
 and options factory has a higher priority over the predefined options if ever configured or set.
diff --git a/docs/ops/state/state_backends.zh.md b/docs/ops/state/state_backends.zh.md
index 89744f6..2ede86f 100644
--- a/docs/ops/state/state_backends.zh.md
+++ b/docs/ops/state/state_backends.zh.md
@@ -280,7 +280,7 @@ Flink还提供了两个参数来控制*写路径*(MemTable)和*读路径*(
 
   - 通过 `state.backend.rocksdb.options-factory` 选项将工厂实现类的名称设置到`flink-conf.yaml` 。
   
-  - 通过程序设置,例如 `RocksDBStateBackend.setOptions(new MyOptionsFactory());` 。
+  - 通过程序设置,例如 `RocksDBStateBackend.setRocksDBOptions(new MyOptionsFactory());` 。
   
 <span class="label label-info">注意</span> 通过程序设置的 `RocksDBOptionsFactory` 将覆盖 `flink-conf.yaml` 配置文件的设置,且 `RocksDBOptionsFactory` 设置的优先级高于预定义选项(`PredefinedOptions`)。