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

luzhijing 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 45948d78cf [doc](fix) `create Workload Policy` is provided in 2.1.3 
(#690)
45948d78cf is described below

commit 45948d78cfb8757d025e70a06a28a1aafdf44e6e
Author: yagagagaga <[email protected]>
AuthorDate: Wed Jun 5 10:25:31 2024 +0800

    [doc](fix) `create Workload Policy` is provided in 2.1.3 (#690)
---
 docs/admin-manual/resource-admin/workload-policy.md                    | 1 +
 .../current/admin-manual/resource-admin/workload-policy.md             | 1 +
 .../version-2.1/admin-manual/resource-admin/workload-policy.md         | 3 +++
 .../version-2.1/admin-manual/resource-admin/workload-policy.md         | 3 +++
 4 files changed, 8 insertions(+)

diff --git a/docs/admin-manual/resource-admin/workload-policy.md 
b/docs/admin-manual/resource-admin/workload-policy.md
index f4378a6661..ef9d42a3fe 100644
--- a/docs/admin-manual/resource-admin/workload-policy.md
+++ b/docs/admin-manual/resource-admin/workload-policy.md
@@ -44,6 +44,7 @@ Workload Policy mainly includes the following concepts:
 * properties,defined the properties of the current policy, including whether 
it is enabled and its priority.
 
 The meaning of the policy in the above example is to create a policy named 
test_cancel_policy, which will cancel queries in the cluster that have been 
running for more than 1 second, and it's enabled.
+CREATE POLICY needs admin_priv.
 
 ## Basic Usage
 Due to the fact that some actions can only take effect in FE and others can 
only take effect in BE, so the policy also needs to be distinguished between 
the policy of FE and the policy of BE.
diff --git 
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/admin-manual/resource-admin/workload-policy.md
 
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/admin-manual/resource-admin/workload-policy.md
index 90dc392c02..9168bf1af6 100644
--- 
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/admin-manual/resource-admin/workload-policy.md
+++ 
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/admin-manual/resource-admin/workload-policy.md
@@ -44,6 +44,7 @@ Workload Policy主要包含以下几个概念:
 * properties,定义了当前policy的属性,包括是否启用和优先级。
 
 上面例子中policy的含义是,创建一个名为`test_cancel_policy`的policy,它会取消掉集群中运行时间超过1s的查询,当前状态为启用。
+创建 Workload Policy 需要 admin_priv 权限。
 
 ## 基本用法
 由于action的行为有的只能在FE生效,有的只能在BE生效,因此policy本身也有FE和BE的区别。
diff --git 
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.1/admin-manual/resource-admin/workload-policy.md
 
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.1/admin-manual/resource-admin/workload-policy.md
index e98711a5e9..8075cbf098 100644
--- 
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.1/admin-manual/resource-admin/workload-policy.md
+++ 
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.1/admin-manual/resource-admin/workload-policy.md
@@ -24,6 +24,8 @@ specific language governing permissions and limitations
 under the License.
 -->
 
+<version since="2.1.3"></version>
+
 ## 功能背景
 Workload Group功能解决了不同负载间的隔离问题,但无法解决同一个Group内的大查询熔断的问题, 用户遇到大查询影响集群稳定性时只能手动处理。
 
@@ -44,6 +46,7 @@ Workload Policy主要包含以下几个概念:
 * properties,定义了当前policy的属性,包括是否启用和优先级。
 
 上面例子中policy的含义是,创建一个名为`test_cancel_policy`的policy,它会取消掉集群中运行时间超过1s的查询,当前状态为启用。
+创建 Workload Policy 需要 admin_priv 权限。
 
 ## 基本用法
 由于action的行为有的只能在FE生效,有的只能在BE生效,因此policy本身也有FE和BE的区别。
diff --git 
a/versioned_docs/version-2.1/admin-manual/resource-admin/workload-policy.md 
b/versioned_docs/version-2.1/admin-manual/resource-admin/workload-policy.md
index c125cdcf1d..808cd0bcee 100644
--- a/versioned_docs/version-2.1/admin-manual/resource-admin/workload-policy.md
+++ b/versioned_docs/version-2.1/admin-manual/resource-admin/workload-policy.md
@@ -24,6 +24,8 @@ specific language governing permissions and limitations
 under the License.
 -->
 
+<version since="2.1.3"></version>
+
 ## Backgroup
 The Workload Group solves the problem of isolation between different workload, 
but it cannot solve negative impact of large queries on stability within the 
same Group. When users encounter large queries that affect cluster stability, 
they can only manually handle them.
 
@@ -44,6 +46,7 @@ Workload Policy mainly includes the following concepts:
 * properties,defined the properties of the current policy, including whether 
it is enabled and its priority.
 
 The meaning of the policy in the above example is to create a policy named 
test_cancel_policy, which will cancel queries in the cluster that have been 
running for more than 1 second, and it's enabled.
+CREATE POLICY needs admin_priv.
 
 ## Basic Usage
 Due to the fact that some actions can only take effect in FE and others can 
only take effect in BE, so the policy also needs to be distinguished between 
the policy of FE and the policy of BE.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to