You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by ji...@apache.org on 2022/10/15 04:10:31 UTC

[doris-website] branch master updated: 1.1.3 upgrade

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

jiafengzheng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris-website.git


The following commit(s) were added to refs/heads/master by this push:
     new c3913cae3c3 1.1.3 upgrade
c3913cae3c3 is described below

commit c3913cae3c3cb480ec4fe289367e010b36114310
Author: jiafeng.zhang <zh...@gmail.com>
AuthorDate: Sat Oct 15 12:10:22 2022 +0800

    1.1.3 upgrade
---
 docs/admin-manual/cluster-management/upgrade.md        | 18 ++++++++++++++++++
 .../current/admin-manual/cluster-management/upgrade.md | 18 ++++++++++++++++++
 2 files changed, 36 insertions(+)

diff --git a/docs/admin-manual/cluster-management/upgrade.md b/docs/admin-manual/cluster-management/upgrade.md
index a04a69a5394..10292366472 100644
--- a/docs/admin-manual/cluster-management/upgrade.md
+++ b/docs/admin-manual/cluster-management/upgrade.md
@@ -74,6 +74,24 @@ Doris can upgrade smoothly by rolling upgrades. The following steps are recommen
     ```
     The metadata directory to be backed up is  `doris-meta/`
 
+3. **important! ! Upgrade 1.1.3 Caution**
+
+    Storage Page Cache and Chunk Allocator need to be disabled by default.
+
+    Storage Page Cache and Chunk Allocator cache user data blocks and memory preallocation, respectively.
+
+    These two functions take up a certain percentage of memory and will not be released. This part of memory cannot be flexibly allocated, which leads to insufficient memory for other tasks due to this part of memory occupation in some scenarios, affecting system stability and availability. Therefore, we disabled these two features by default in version 1.1.3.
+
+    However, in some latency-sensitive reporting scenarios, turning off this feature may lead to increased query latency. If you are worried about the impact of this feature on your business after upgrade, you can add the following parameters to be.conf to keep the same behavior as the previous version.
+
+    ```
+    disable_storage_page_cache=false
+    chunk_reserved_bytes_limit=10%
+    ```
+
+    * ``disable_storage_page_cache``: Whether to disable Storage Page Cache. version 1.1.2 (inclusive), the default is false, i.e., on. version 1.1.3 defaults to true, i.e., off.
+    * `chunk_reserved_bytes_limit`: Chunk allocator reserved memory size. 1.1.2 (and earlier), the default is 10% of the overall memory. 1.1.3 version default is 209715200 (200MB).
+
 ## Test the correctness of BE upgrade
 
 1. Arbitrarily select a BE node and deploy the latest doris_be binary file.
diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/current/admin-manual/cluster-management/upgrade.md b/i18n/zh-CN/docusaurus-plugin-content-docs/current/admin-manual/cluster-management/upgrade.md
index befa55d6cfb..385026e4aea 100644
--- a/i18n/zh-CN/docusaurus-plugin-content-docs/current/admin-manual/cluster-management/upgrade.md
+++ b/i18n/zh-CN/docusaurus-plugin-content-docs/current/admin-manual/cluster-management/upgrade.md
@@ -73,6 +73,24 @@ Doris 可以通过滚动升级的方式,平滑进行升级。建议按照以
         ```
       需要备份的元数据目录为 `doris-meta/`
 
+3. **升级 1.1.3 注意事项**
+
+    需要默认关闭 Storage Page Cache 和 Chunk Allocator
+
+    Storage Page Cache 和 Chunk Allocator 分别缓存用户数据块和内存预分配。
+
+    这两个功能会占用一定比例的内存,并且不会释放。 这部分内存占用无法灵活调配,导致在某些场景下,因这部分内存占用而导致其他任务内存不足,影响系统稳定性和可用性。因此我们在 1.1.3 版本中默认关闭了这两个功能。
+
+    但在某些延迟敏感的报表场景下,关闭该功能可能会导致查询延迟增加。如用户担心升级后该功能对业务造成影响,可以通过在 be.conf 中增加以下参数以保持和之前版本行为一致。
+
+    ```
+    disable_storage_page_cache=false
+    chunk_reserved_bytes_limit=10%
+    ```
+
+    * `disable_storage_page_cache`:是否关闭 Storage Page Cache。 1.1.2(含)之前的版本,默认是false,即打开。1.1.3 版本默认为 true,即关闭。
+    * `chunk_reserved_bytes_limit`:Chunk allocator 预留内存大小。1.1.2(含)之前的版本,默认是整体内存的 10%。1.1.3 版本默认为 209715200(200MB)。
+
 ## 测试 BE 升级正确性
 
 1. 任意选择一个 BE 节点,部署最新的 doris_be 二进制文件。


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org