You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by az...@apache.org on 2019/12/20 13:15:06 UTC
[flink] branch release-1.8 updated: [FLINK-14846][doc] Correct the
default writerbuffer size documentation of RocksDB
This is an automated email from the ASF dual-hosted git repository.
azagrebin pushed a commit to branch release-1.8
in repository https://gitbox.apache.org/repos/asf/flink.git
The following commit(s) were added to refs/heads/release-1.8 by this push:
new c0f6f95 [FLINK-14846][doc] Correct the default writerbuffer size documentation of RocksDB
c0f6f95 is described below
commit c0f6f95353b5be284b0fd1cd53c5950ceeebbf56
Author: Yun Tang <my...@live.com>
AuthorDate: Mon Nov 25 02:00:40 2019 +0800
[FLINK-14846][doc] Correct the default writerbuffer size documentation of RocksDB
Correct the default write buffer size of RocksDB to '64MB'
---
docs/_includes/generated/rocks_db_configurable_configuration.html | 2 +-
.../flink/contrib/streaming/state/RocksDBConfigurableOptions.java | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/docs/_includes/generated/rocks_db_configurable_configuration.html b/docs/_includes/generated/rocks_db_configurable_configuration.html
index fa0e0ff..b29054c 100644
--- a/docs/_includes/generated/rocks_db_configurable_configuration.html
+++ b/docs/_includes/generated/rocks_db_configurable_configuration.html
@@ -60,7 +60,7 @@
<tr>
<td><h5>state.backend.rocksdb.writebuffer.size</h5></td>
<td style="word-wrap: break-word;">(none)</td>
- <td>The amount of data built up in memory (backed by an unsorted log on disk) before converting to a sorted on-disk files. RocksDB has default writebuffer size as '4MB'.</td>
+ <td>The amount of data built up in memory (backed by an unsorted log on disk) before converting to a sorted on-disk files. RocksDB has default writebuffer size as '64MB'.</td>
</tr>
</tbody>
</table>
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 261e5f0..a8213bc 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
@@ -94,7 +94,7 @@ public class RocksDBConfigurableOptions implements Serializable {
key("state.backend.rocksdb.writebuffer.size")
.noDefaultValue()
.withDescription("The amount of data built up in memory (backed by an unsorted log on disk) " +
- "before converting to a sorted on-disk files. RocksDB has default writebuffer size as '4MB'.");
+ "before converting to a sorted on-disk files. RocksDB has default writebuffer size as '64MB'.");
public static final ConfigOption<String> MAX_WRITE_BUFFER_NUMBER =
key("state.backend.rocksdb.writebuffer.count")