This is an automated email from the ASF dual-hosted git repository.
tuichenchuxin 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 4ce8e6e7589 Update readwrite splitting spi document (#19196)
4ce8e6e7589 is described below
commit 4ce8e6e75895541b868107d724f92ebcb1907773
Author: Zhengqiang Duan <[email protected]>
AuthorDate: Fri Jul 15 13:45:19 2022 +0800
Update readwrite splitting spi document (#19196)
---
.../content/dev-manual/readwrite-splitting.cn.md | 24 +++++++++++-----------
.../content/dev-manual/readwrite-splitting.en.md | 24 +++++++++++-----------
2 files changed, 24 insertions(+), 24 deletions(-)
diff --git a/docs/document/content/dev-manual/readwrite-splitting.cn.md
b/docs/document/content/dev-manual/readwrite-splitting.cn.md
index 8dfe1fb6a00..4ba7d56cee3 100644
--- a/docs/document/content/dev-manual/readwrite-splitting.cn.md
+++ b/docs/document/content/dev-manual/readwrite-splitting.cn.md
@@ -17,15 +17,15 @@ chapter = true
## ReadQueryLoadBalanceAlgorithm
-| *已知实现类* | *详细说明* |
-| ----------------------------------------- | ----------------------- |
-| RoundRobinReplicaLoadBalanceAlgorithm | 基于轮询的读库负载均衡算法 |
-| RandomReplicaLoadBalanceAlgorithm | 基于随机的读库负载均衡算法 |
-| WeightReplicaLoadBalanceAlgorithm | 基于权重的读库负载均衡算法 |
-| TransactionRandomReplicaLoadBalanceAlgorithm | 无论是否在事务中,读请求采用随机策略路由到多个读库
|
-| TransactionRoundRobinReplicaLoadBalanceAlgorithm | 无论是否在事务中,读请求采用轮询策略路由到多个读库
|
-| TransactionWeightReplicaLoadBalanceAlgorithm | 无论是否在事务中,读请求采用权重策略路由到多个读库
|
-| FixedReplicaRandomLoadBalanceAlgorithm |
显示开启事务,读请求采用随机策略路由到一个固定读库;不开事务,每次读流量使用指定算法路由到不同的读库 |
-| FixedReplicaRoundRobinLoadBalanceAlgorithm |
显示开启事务,读请求采用轮询策略路由到一个固定读库;不开事务,每次读流量使用指定算法路由到不同的读库 |
-| FixedReplicaWeightLoadBalanceAlgorithm |
显示开启事务,读请求采用权重策略路由到多个读库;不开事务,每次读流量使用指定算法路由到不同的读库 |
-| FixedPrimaryLoadBalanceAlgorithm | 读请求全部路由到主库 |
\ No newline at end of file
+| *已知实现类* | *详细说明*
|
+|-----------------------------------------------------|----------------------------------------------------|
+| RoundRobinReadQueryLoadBalanceAlgorithm | 基于轮询的读库负载均衡算法
|
+| RandomReadQueryLoadBalanceAlgorithm | 基于随机的读库负载均衡算法
|
+| WeightReadQueryLoadBalanceAlgorithm | 基于权重的读库负载均衡算法
|
+| TransactionRandomReadQueryLoadBalanceAlgorithm |
无论是否在事务中,读请求采用随机策略路由到多个读库 |
+| TransactionRoundRobinReadQueryLoadBalanceAlgorithm |
无论是否在事务中,读请求采用轮询策略路由到多个读库 |
+| TransactionWeightReadQueryLoadBalanceAlgorithm |
无论是否在事务中,读请求采用权重策略路由到多个读库 |
+| FixedReplicaRandomReadQueryLoadBalanceAlgorithm |
显示开启事务,读请求采用随机策略路由到一个固定读库;不开事务,每次读流量使用指定算法路由到不同的读库 |
+| FixedReplicaRoundRobinReadQueryLoadBalanceAlgorithm |
显示开启事务,读请求采用轮询策略路由到一个固定读库;不开事务,每次读流量使用指定算法路由到不同的读库 |
+| FixedReplicaWeightReadQueryLoadBalanceAlgorithm |
显示开启事务,读请求采用权重策略路由到多个读库;不开事务,每次读流量使用指定算法路由到不同的读库 |
+| FixedPrimaryReadQueryLoadBalanceAlgorithm | 读请求全部路由到主库
|
\ No newline at end of file
diff --git a/docs/document/content/dev-manual/readwrite-splitting.en.md
b/docs/document/content/dev-manual/readwrite-splitting.en.md
index 287121fb6d0..661d0807826 100644
--- a/docs/document/content/dev-manual/readwrite-splitting.en.md
+++ b/docs/document/content/dev-manual/readwrite-splitting.en.md
@@ -17,15 +17,15 @@ chapter = true
## ReadQueryLoadBalanceAlgorithm
-| *known implementation class* | *Description* |
-| ----------------------------------------- | ----------------------- |
-| RoundRobinReplicaLoadBalanceAlgorithm | the read database load balancer
algorithm based on polling |
-| RandomReplicaLoadBalanceAlgorithm | the read database load balancer
algorithm based on random |
-| WeightReplicaLoadBalanceAlgorithm | the read database load balancer
algorithm based on weight |
-| TransactionRandomReplicaLoadBalanceAlgorithm | Whether in a transaction
or not, read requests are routed to multiple replicas using a random strategy |
-| TransactionRoundRobinReplicaLoadBalanceAlgorithm | Whether in a transaction
or not, read requests are routed to multiple replicas using a round-robin
strategy |
-| TransactionWeightReplicaLoadBalanceAlgorithm | Whether in a transaction
or not, read requests are routed to multiple replicas using a weight strategy |
-| FixedReplicaRandomLoadBalanceAlgorithm | Open transaction, and the
read request is routed to a fixed replica using a random strategy; if the
transaction is not opened, each read traffic is routed to a different replica
using the specified algorithm |
-| FixedReplicaRoundRobinLoadBalanceAlgorithm | Open transaction, and the
read request is routed to a fixed replica using a round-robin strategy; if the
transaction is not opened, each read traffic is routed to a different replica
using the specified algorithm |
-| FixedReplicaWeightLoadBalanceAlgorithm | Open transaction, and the
read request is routed to a fixed replica using a weight strategy; if the
transaction is not opened, each read traffic is routed to a different replica
using the specified algorithm |
-| FixedPrimaryLoadBalanceAlgorithm | All read traffic is
routed to the primary |
+| *known implementation class* | *Description*
|
+|-----------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| RoundRobinReadQueryLoadBalanceAlgorithm | the read database load
balancer algorithm based on polling
|
+| RandomReadQueryLoadBalanceAlgorithm | the read database load
balancer algorithm based on random
|
+| WeightReadQueryLoadBalanceAlgorithm | the read database load
balancer algorithm based on weight
|
+| TransactionRandomReadQueryLoadBalanceAlgorithm | Whether in a
transaction or not, read requests are routed to multiple replicas using a
random strategy
|
+| TransactionRoundRobinReadQueryLoadBalanceAlgorithm | Whether in a
transaction or not, read requests are routed to multiple replicas using a
round-robin strategy
|
+| TransactionWeightReadQueryLoadBalanceAlgorithm | Whether in a
transaction or not, read requests are routed to multiple replicas using a
weight strategy
|
+| FixedReplicaRandomReadQueryLoadBalanceAlgorithm | Open transaction, and
the read request is routed to a fixed replica using a random strategy; if the
transaction is not opened, each read traffic is routed to a different replica
using the specified algorithm |
+| FixedReplicaRoundRobinReadQueryLoadBalanceAlgorithm | Open transaction, and
the read request is routed to a fixed replica using a round-robin strategy; if
the transaction is not opened, each read traffic is routed to a different
replica using the specified algorithm |
+| FixedReplicaWeightReadQueryLoadBalanceAlgorithm | Open transaction, and
the read request is routed to a fixed replica using a weight strategy; if the
transaction is not opened, each read traffic is routed to a different replica
using the specified algorithm |
+| FixedPrimaryReadQueryLoadBalanceAlgorithm | All read traffic is
routed to the primary
|