You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by ji...@apache.org on 2021/10/18 13:14:11 UTC

[shardingsphere] branch master updated: Move mode to concept item (#13106)

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

jianglongtao pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git


The following commit(s) were added to refs/heads/master by this push:
     new 82d9715  Move mode to concept item (#13106)
82d9715 is described below

commit 82d9715085a4300cfb4d93285110451af04df0d9
Author: Liang Zhang <te...@163.com>
AuthorDate: Mon Oct 18 21:13:30 2021 +0800

    Move mode to concept item (#13106)
---
 docs/document/content/concepts/mode/_index.cn.md   | 25 +++++++++++++++++++++
 docs/document/content/concepts/mode/_index.en.md   | 26 ++++++++++++++++++++++
 docs/document/content/features/mode/_index.cn.md   | 23 -------------------
 docs/document/content/features/mode/_index.en.md   | 26 ----------------------
 .../features/pluggable-architecture/_index.cn.md   |  4 ++--
 .../features/pluggable-architecture/_index.en.md   |  4 ++--
 .../content/features/test-engine/_index.cn.md      |  4 ++--
 .../content/features/test-engine/_index.en.md      |  4 ++--
 .../features/test-engine/integration-test.cn.md    |  2 +-
 .../features/test-engine/integration-test.en.md    |  2 +-
 .../content/features/test-engine/parser-test.cn.md |  2 +-
 .../content/features/test-engine/parser-test.en.md |  2 +-
 .../test-engine/performance-test-sysbench.cn.md    |  2 +-
 .../test-engine/performance-test-sysbench.en.md    |  2 +-
 .../features/test-engine/performance-test.cn.md    |  2 +-
 .../features/test-engine/performance-test.en.md    |  2 +-
 .../features/test-engine/rewrite-test.cn.md        |  2 +-
 .../features/test-engine/rewrite-test.en.md        |  2 +-
 18 files changed, 69 insertions(+), 67 deletions(-)

diff --git a/docs/document/content/concepts/mode/_index.cn.md b/docs/document/content/concepts/mode/_index.cn.md
new file mode 100644
index 0000000..e4a665b
--- /dev/null
+++ b/docs/document/content/concepts/mode/_index.cn.md
@@ -0,0 +1,25 @@
++++
+pre = "<b>3.2. </b>"
+title = "运行模式"
+weight = 2
+chapter = true
++++
+
+## 背景
+
+为满足用户快速测试启动、单机运行以及集群运行等不同的需求,Apache ShardingSphere 提供了内存模式、单机模式和集群模式。
+
+## 内存模式
+
+适用于做快速集成测试的环境启动,方便开发人员在整合功能测试中集成 ShardingSphere。
+该模式也是 Apache ShardingSphere 的默认模式。
+
+## 单机模式
+
+适用于单机启动 ShardingSphere,通过该模式可将数据源和规则等元数据信息持久化。
+默认在根目录创建 `.shardingsphere` 文件用于存储配置信息。
+
+## 集群模式
+
+适用于分布式场景,它提供了多个计算节点之间的元数据共享和状态协调。
+需要提供用于分布式协调的注册中心组件,如:ZooKeeper、Etcd 等。
diff --git a/docs/document/content/concepts/mode/_index.en.md b/docs/document/content/concepts/mode/_index.en.md
new file mode 100644
index 0000000..a560471
--- /dev/null
+++ b/docs/document/content/concepts/mode/_index.en.md
@@ -0,0 +1,26 @@
++++
+pre = "<b>3.2. </b>"
+title = "Mode"
+weight = 2
+chapter = true
++++
+
+## Background
+
+In order to meet the different needs of users for quick test startup, stand-alone running and cluster running, 
+Apache shardingsphere provides various mode such as memory, stand-alone and cluster.
+
+## Memory mode
+
+Suitable for fast integration testing, which is convenient for testing, such as for developers looking to perform fast integration function testing. 
+This is the default mode of Apache ShardingSphere.
+
+## Standalone mode
+
+Suitable in a standalone environment, through which data sources, rules, and metadata can be persisted. 
+Will create a `.shardingsphere` file in the root directory to store configuration data by default.
+
+## Cluster mode
+
+Suitable for use in distributed scenarios which provides metadata sharing and state coordination among multiple computing nodes.
+It is necessary to provide registry center for distributed coordination, such as ZooKeeper or Etcd.
diff --git a/docs/document/content/features/mode/_index.cn.md b/docs/document/content/features/mode/_index.cn.md
deleted file mode 100644
index b7bc7f5..0000000
--- a/docs/document/content/features/mode/_index.cn.md
+++ /dev/null
@@ -1,23 +0,0 @@
-+++
-pre = "<b>4.9. </b>"
-title = "mode模式"
-weight = 9
-chapter = true
-+++
-
-## 背景
-
-为满足用户不同的需求,比如快速测试、单机运行和分布式运行。mode 提供了三种模式,它们分别是 Memory 模式、Standalone 模式、以及 Cluster 模式。
-
-## Memory 模式
-
-Memory 模式适用于做快速集成测试,方便开发人员在整合功能测试中集成 ShardingSphere。该模式也是 Apache ShardingSphere 的默认模式。
-
-## Standalone 模式
-
-Standalone 模式适用于单机环境,通过该模式可将数据源、规则等元数据进行持久化。其中 Standalone 模式中的 File 类型会将配置信息写入您所指定的 Path,
-如果没有设置 Path 属性,那么 ShardingSphere 会在根目录创建 .shardingsphere 文件用来存储配置信息。
-
-## Cluster 模式
-
-Cluster 模式适用于分布式场景,它提供了多个计算节点之间的元数据共享和状态协调。
diff --git a/docs/document/content/features/mode/_index.en.md b/docs/document/content/features/mode/_index.en.md
deleted file mode 100644
index 404103e..0000000
--- a/docs/document/content/features/mode/_index.en.md
+++ /dev/null
@@ -1,26 +0,0 @@
-+++
-pre = "<b>4.9. </b>"
-title = "mode"
-weight = 9
-chapter = true
-+++
-
-## Background
-
-To meet different user needs, such as quick test, stand-alone operation and distributed operation mode provides three modes, 
-which are: Memory mode, Standalone mode, and Cluster mode.
-
-## Memory mode
-
-The memory mode is suitable for fast integration testing, which is convenient for testing, such as for developers looking to perform fast integration function testing. 
-This mode is also Apache ShardingSphere’s default mode.
-
-## Standalone mode
-
-The standalone mode is suitable in a standalone environment, through which data sources, rules, and metadata can be persisted. 
-Among them, the File type in Standalone mode will write the configuration information to the Path you specify. If the Path attribute is not set, 
-then Apache ShardingSphere will create a .shardingsphere file in the root directory to store configuration information.
-
-## Cluster mode
-
-The cluster mode is suitable for use in distributed scenarios. Cluster mode provides metadata sharing and state coordination among multiple computing nodes.
diff --git a/docs/document/content/features/pluggable-architecture/_index.cn.md b/docs/document/content/features/pluggable-architecture/_index.cn.md
index cc8d3ed..35cbe95 100644
--- a/docs/document/content/features/pluggable-architecture/_index.cn.md
+++ b/docs/document/content/features/pluggable-architecture/_index.cn.md
@@ -1,7 +1,7 @@
 +++
-pre = "<b>4.10. </b>"
+pre = "<b>4.9. </b>"
 title = "可插拔架构"
-weight = 10
+weight = 9
 chapter = true
 +++
 
diff --git a/docs/document/content/features/pluggable-architecture/_index.en.md b/docs/document/content/features/pluggable-architecture/_index.en.md
index f25c1f5..e82efe5 100644
--- a/docs/document/content/features/pluggable-architecture/_index.en.md
+++ b/docs/document/content/features/pluggable-architecture/_index.en.md
@@ -1,7 +1,7 @@
 +++
-pre = "<b>4.10. </b>"
+pre = "<b>4.9. </b>"
 title = "Pluggable Architecture"
-weight = 10
+weight = 9
 chapter = true
 +++
 
diff --git a/docs/document/content/features/test-engine/_index.cn.md b/docs/document/content/features/test-engine/_index.cn.md
index dc7cbdb..258c1b4 100644
--- a/docs/document/content/features/test-engine/_index.cn.md
+++ b/docs/document/content/features/test-engine/_index.cn.md
@@ -1,7 +1,7 @@
 +++
-pre = "<b>4.11. </b>"
+pre = "<b>4.10. </b>"
 title = "测试引擎"
-weight = 11
+weight = 10
 chapter = true
 +++
 
diff --git a/docs/document/content/features/test-engine/_index.en.md b/docs/document/content/features/test-engine/_index.en.md
index efd7179..4e181bd 100644
--- a/docs/document/content/features/test-engine/_index.en.md
+++ b/docs/document/content/features/test-engine/_index.en.md
@@ -1,7 +1,7 @@
 +++
-pre = "<b>4.11. </b>"
+pre = "<b>4.10. </b>"
 title = "Test Engine"
-weight = 11
+weight = 10
 chapter = true
 +++
 
diff --git a/docs/document/content/features/test-engine/integration-test.cn.md b/docs/document/content/features/test-engine/integration-test.cn.md
index bedbec2..c573ca1 100644
--- a/docs/document/content/features/test-engine/integration-test.cn.md
+++ b/docs/document/content/features/test-engine/integration-test.cn.md
@@ -1,5 +1,5 @@
 +++
-pre = "<b>4.11.1. </b>"
+pre = "<b>4.10.1. </b>"
 title = "集成测试"
 weight = 1
 +++
diff --git a/docs/document/content/features/test-engine/integration-test.en.md b/docs/document/content/features/test-engine/integration-test.en.md
index a33bf86..5de5102 100644
--- a/docs/document/content/features/test-engine/integration-test.en.md
+++ b/docs/document/content/features/test-engine/integration-test.en.md
@@ -1,5 +1,5 @@
 +++
-pre = "<b>4.11.1. </b>"
+pre = "<b>4.10.1. </b>"
 title = "Integration Test"
 weight = 1
 +++
diff --git a/docs/document/content/features/test-engine/parser-test.cn.md b/docs/document/content/features/test-engine/parser-test.cn.md
index c57752d..5748a61 100644
--- a/docs/document/content/features/test-engine/parser-test.cn.md
+++ b/docs/document/content/features/test-engine/parser-test.cn.md
@@ -1,5 +1,5 @@
 +++
-pre = "<b>4.11.2. </b>"
+pre = "<b>4.10.2. </b>"
 title = "SQL 解析测试"
 weight = 2
 +++
diff --git a/docs/document/content/features/test-engine/parser-test.en.md b/docs/document/content/features/test-engine/parser-test.en.md
index 0c5763a..2cb9457 100644
--- a/docs/document/content/features/test-engine/parser-test.en.md
+++ b/docs/document/content/features/test-engine/parser-test.en.md
@@ -1,5 +1,5 @@
 +++
-pre = "<b>4.11.2. </b>"
+pre = "<b>4.10.2. </b>"
 title = "SQL Parser Test"
 weight = 2
 +++
diff --git a/docs/document/content/features/test-engine/performance-test-sysbench.cn.md b/docs/document/content/features/test-engine/performance-test-sysbench.cn.md
index 64bb0a9..ae9ac6c 100644
--- a/docs/document/content/features/test-engine/performance-test-sysbench.cn.md
+++ b/docs/document/content/features/test-engine/performance-test-sysbench.cn.md
@@ -1,5 +1,5 @@
 +++
-pre = "<b>4.11.5. </b>"
+pre = "<b>4.10.5. </b>"
 title = "性能测试(sysbench)"
 weight = 5
 +++
diff --git a/docs/document/content/features/test-engine/performance-test-sysbench.en.md b/docs/document/content/features/test-engine/performance-test-sysbench.en.md
index ca01197..e965c38 100644
--- a/docs/document/content/features/test-engine/performance-test-sysbench.en.md
+++ b/docs/document/content/features/test-engine/performance-test-sysbench.en.md
@@ -1,5 +1,5 @@
 +++
-pre = "<b>4.11.5. </b>"
+pre = "<b>4.10.5. </b>"
 title = "Performance Test(sysbench)"
 weight = 5
 +++
diff --git a/docs/document/content/features/test-engine/performance-test.cn.md b/docs/document/content/features/test-engine/performance-test.cn.md
index 0d8d2de..30d97ee 100644
--- a/docs/document/content/features/test-engine/performance-test.cn.md
+++ b/docs/document/content/features/test-engine/performance-test.cn.md
@@ -1,5 +1,5 @@
 +++
-pre = "<b>4.11.4. </b>"
+pre = "<b>4.10.4. </b>"
 title = "性能测试"
 weight = 4
 +++
diff --git a/docs/document/content/features/test-engine/performance-test.en.md b/docs/document/content/features/test-engine/performance-test.en.md
index 0459f99..4d6e06b 100644
--- a/docs/document/content/features/test-engine/performance-test.en.md
+++ b/docs/document/content/features/test-engine/performance-test.en.md
@@ -1,5 +1,5 @@
 +++
-pre = "<b>4.11.4. </b>"
+pre = "<b>4.10.4. </b>"
 title = "Performance Test"
 weight = 4
 +++
diff --git a/docs/document/content/features/test-engine/rewrite-test.cn.md b/docs/document/content/features/test-engine/rewrite-test.cn.md
index 8709bcb..f14c805 100644
--- a/docs/document/content/features/test-engine/rewrite-test.cn.md
+++ b/docs/document/content/features/test-engine/rewrite-test.cn.md
@@ -1,5 +1,5 @@
 +++
-pre = "<b>4.11.3. </b>"
+pre = "<b>4.10.3. </b>"
 title = "SQL 改写测试"
 weight = 3
 +++
diff --git a/docs/document/content/features/test-engine/rewrite-test.en.md b/docs/document/content/features/test-engine/rewrite-test.en.md
index bf296bb..155d003 100644
--- a/docs/document/content/features/test-engine/rewrite-test.en.md
+++ b/docs/document/content/features/test-engine/rewrite-test.en.md
@@ -1,5 +1,5 @@
 +++
-pre = "<b>4.11.3. </b>"
+pre = "<b>4.10.3. </b>"
 title = "SQL Rewrite Test"
 weight = 3
 +++