This is an automated email from the ASF dual-hosted git repository.
chunshao pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-horaedb-docs.git
The following commit(s) were added to refs/heads/main by this push:
new 047f83e update enableSchedule (#109)
047f83e is described below
commit 047f83ede9b0c7fdc0925f9fb14551df2ee1730f
Author: chunshao.rcs <[email protected]>
AuthorDate: Mon Jan 22 19:55:03 2024 +0800
update enableSchedule (#109)
---
docs/src/cn/operation/horaemeta.md | 10 +++++-----
docs/src/en/operation/horaemeta.md | 10 ++++------
2 files changed, 9 insertions(+), 11 deletions(-)
diff --git a/docs/src/cn/operation/horaemeta.md
b/docs/src/cn/operation/horaemeta.md
index 33692b4..d8a2e35 100644
--- a/docs/src/cn/operation/horaemeta.md
+++ b/docs/src/cn/operation/horaemeta.md
@@ -109,7 +109,7 @@ curl --location 'http://127.0.0.1:8080/api/v1/clusters' \
"name":"testCluster",
"nodeCount":3,
"ShardTotal":9,
- "enableScheduler":true,
+ "enableSchedule":true,
"topologyType":"static"
}'
```
@@ -133,20 +133,20 @@ curl --location --request PUT
'http://127.0.0.1:8080/api/v1/clusters/{NewCluster
curl --location 'http://127.0.0.1:8080/api/v1/clusters'
```
-- 修改 DeployMode
+- 修改 `enableSchedule`
```
-curl --location --request PUT
'http://127.0.0.1:8080/api/v1/cluster/{ClusterName}/deployMode' \
+curl --location --request PUT
'http://127.0.0.1:8080/api/v1/clusters/{ClusterName}/enableSchedule' \
--header 'Content-Type: application/json' \
--data '{
"enable":true
}'
```
-- 查询 DeployMode
+- 查询 `enableSchedule`
```
-curl --location 'http://127.0.0.1:8080/api/v1/cluster/{ClusterName}/deployMode'
+curl --location
'http://127.0.0.1:8080/api/v1/clusters/{ClusterName}/enableSchedule'
```
- 更新限流器
diff --git a/docs/src/en/operation/horaemeta.md
b/docs/src/en/operation/horaemeta.md
index 48116ac..9dccafc 100644
--- a/docs/src/en/operation/horaemeta.md
+++ b/docs/src/en/operation/horaemeta.md
@@ -109,7 +109,6 @@ curl --location 'http://127.0.0.1:8080/api/v1/clusters' \
"name":"testCluster",
"nodeCount":3,
"shardTotal":9,
- "enableScheduler":true,
"topologyType":"static"
}'
```
@@ -122,7 +121,6 @@ curl --location --request PUT
'http://127.0.0.1:8080/api/v1/clusters/{NewCluster
--data '{
"nodeCount":28,
"shardTotal":128,
- "enableSchedule":true,
"topologyType":"dynamic"
}'
```
@@ -133,20 +131,20 @@ curl --location --request PUT
'http://127.0.0.1:8080/api/v1/clusters/{NewCluster
curl --location 'http://127.0.0.1:8080/api/v1/clusters'
```
-- Update DeployMode
+- Update `enableSchedule`
```
-curl --location --request PUT
'http://127.0.0.1:8080/api/v1/cluster/{ClusterName}/deployMode' \
+curl --location --request PUT
'http://127.0.0.1:8080/api/v1/clusters/{ClusterName}/enableSchedule' \
--header 'Content-Type: application/json' \
--data '{
"enable":true
}'
```
-- Query DeployMode
+- Query `enableSchedule`
```
-curl --location 'http://127.0.0.1:8080/api/v1/cluster/{ClusterName}/deployMode'
+curl --location
'http://127.0.0.1:8080/api/v1/clusters/{ClusterName}/enableSchedule'
```
- Update flow limiter
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]