This is an automated email from the ASF dual-hosted git repository.
totalo 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 95adb91409e Update readwrite-splitting.en.md (#21598)
95adb91409e is described below
commit 95adb91409eb255c61c52e1d08037f84bf02bdb7
Author: Swastika Gupta <[email protected]>
AuthorDate: Sun Oct 16 19:11:51 2022 +0530
Update readwrite-splitting.en.md (#21598)
---
.../content/dev-manual/readwrite-splitting.en.md | 22 +++++++++++-----------
1 file changed, 11 insertions(+), 11 deletions(-)
diff --git a/docs/document/content/dev-manual/readwrite-splitting.en.md
b/docs/document/content/dev-manual/readwrite-splitting.en.md
index b91dd73a09f..fb71a994256 100644
--- a/docs/document/content/dev-manual/readwrite-splitting.en.md
+++ b/docs/document/content/dev-manual/readwrite-splitting.en.md
@@ -9,7 +9,7 @@ chapter = true
### Fully-qualified class name
-[`org.apache.shardingsphere.readwritesplitting.spi.ReadQueryLoadBalanceAlgorithm`](https://github.com/apache/shardingsphere/blob/master/shardingsphere-features/shardingsphere-readwrite-splitting/shardingsphere-readwrite-splitting-api/src/main/java/org/apache/shardingsphere/readwritesplitting/spi/ReadQueryLoadBalanceAlgorithm.java)
+[`org.apache.shardingsphere.readwritesplitting.spi.ReadQueryLoadBalanceAlgorithm`](https://github.com/apache/shardingsphere/blob/master/features/readwrite-splitting/api/src/main/java/org/apache/shardingsphere/readwritesplitting/spi/ReadQueryLoadBalanceAlgorithm.java)
### Definition
@@ -19,13 +19,13 @@ Read query load balance algorithm's definition
| *Configuration Type* | *Description*
| *Fully-qualified class name* |
| ------------------------- |
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
| ---------------------------- |
-| ROUND_ROBIN | the read database load balancer algorithm based
on polling
|
[`org.apache.shardingsphere.readwritesplitting.algorithm.loadbalance.RoundRobinReadQueryLoadBalanceAlgorithm`](https://github.com/apache/shardingsphere/blob/master/shardingsphere-features/shardingsphere-readwrite-splitting/shardingsphere-readwrite
[...]
-| RANDOM | the read database load balancer algorithm based
on random
|
[`org.apache.shardingsphere.readwritesplitting.algorithm.loadbalance.RandomReadQueryLoadBalanceAlgorithm`](https://github.com/apache/shardingsphere/blob/master/shardingsphere-features/shardingsphere-readwrite-splitting/shardingsphere-readwrite-spl
[...]
-| WEIGHT | the read database load balancer algorithm based
on weight
|
[`org.apache.shardingsphere.readwritesplitting.algorithm.loadbalance.WeightReadQueryLoadBalanceAlgorithm`](https://github.com/apache/shardingsphere/blob/master/shardingsphere-features/shardingsphere-readwrite-splitting/shardingsphere-readwrite-spl
[...]
-| TRANSACTION_RANDOM | Whether in a transaction or not, read requests
are routed to multiple replicas using a random strategy
|
[`org.apache.shardingsphere.readwritesplitting.algorithm.loadbalance.TransactionRandomReadQueryLoadBalanceAlgorithm`](https://github.com/apache/shardingsphere/blob/master/shardingsphere-features/shardingsphere-readwrite-splitting/shardingsphere-re
[...]
-| TRANSACTION_ROUND_ROBIN | Whether in a transaction or not, read requests
are routed to multiple replicas using a round-robin strategy
|
[`org.apache.shardingsphere.readwritesplitting.algorithm.loadbalance.TransactionRoundRobinReadQueryLoadBalanceAlgorithm`](https://github.com/apache/shardingsphere/blob/master/shardingsphere-features/shardingsphere-readwrite-splitting/shardingspher
[...]
-| TRANSACTION_WEIGHT | Whether in a transaction or not, read requests
are routed to multiple replicas using a weight strategy
|
[`org.apache.shardingsphere.readwritesplitting.algorithm.loadbalance.TransactionWeightReadQueryLoadBalanceAlgorithm`](https://github.com/apache/shardingsphere/blob/master/shardingsphere-features/shardingsphere-readwrite-splitting/shardingsphere-re
[...]
-| FIXED_REPLICA_RANDOM | 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 |
[`org.apache.shardingsphere.readwritesplitting.algorithm.loadbalance.FixedReplicaRandomReadQueryLoadBalanceAlgorithm`](https://github.com/apache/shardingsphere/blob/master/shardingsphere-features/shardingsphere-readwrite-splitting/shardingsphere-r
[...]
-| FIXED_REPLICA_ROUND_ROBIN | 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 |
[`org.apache.shardingsphere.readwritesplitting.algorithm.loadbalance.FixedReplicaRoundRobinReadQueryLoadBalanceAlgorithm`](https://github.com/apache/shardingsphere/blob/master/shardingsphere-features/shardingsphere-readwrite-splitting/shardingsphe
[...]
-| FIXED_REPLICA_WEIGHT | 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 |
[`org.apache.shardingsphere.readwritesplitting.algorithm.loadbalance.FixedReplicaWeightReadQueryLoadBalanceAlgorithm`](https://github.com/apache/shardingsphere/blob/master/shardingsphere-features/shardingsphere-readwrite-splitting/shardingsphere-r
[...]
-| FIXED_PRIMARY | All read traffic is routed to the primary
|
[`org.apache.shardingsphere.readwritesplitting.algorithm.loadbalance.FixedPrimaryReadQueryLoadBalanceAlgorithm`](https://github.com/apache/shardingsphere/blob/master/shardingsphere-features/shardingsphere-readwrite-splitting/shardingsphere-readwri
[...]
+| ROUND_ROBIN | the read database load balancer algorithm based
on polling
|
[`org.apache.shardingsphere.readwritesplitting.algorithm.loadbalance.RoundRobinReadQueryLoadBalanceAlgorithm`](https://github.com/apache/shardingsphere/blob/master/features/readwrite-splitting/core/src/main/java/org/apache/shardingsphere/readwrite
[...]
+| RANDOM | the read database load balancer algorithm based
on random
|
[`org.apache.shardingsphere.readwritesplitting.algorithm.loadbalance.RandomReadQueryLoadBalanceAlgorithm`](https://github.com/apache/shardingsphere/blob/master/features/readwrite-splitting/core/src/main/java/org/apache/shardingsphere/readwritespli
[...]
+| WEIGHT | the read database load balancer algorithm based
on weight
|
[`org.apache.shardingsphere.readwritesplitting.algorithm.loadbalance.WeightReadQueryLoadBalanceAlgorithm`](https://github.com/apache/shardingsphere/blob/master/features/readwrite-splitting/core/src/main/java/org/apache/shardingsphere/readwritespli
[...]
+| TRANSACTION_RANDOM | Whether in a transaction or not, read requests
are routed to multiple replicas using a random strategy
|
[`org.apache.shardingsphere.readwritesplitting.algorithm.loadbalance.TransactionRandomReadQueryLoadBalanceAlgorithm`](https://github.com/apache/shardingsphere/blob/master/features/readwrite-splitting/core/src/main/java/org/apache/shardingsphere/re
[...]
+| TRANSACTION_ROUND_ROBIN | Whether in a transaction or not, read requests
are routed to multiple replicas using a round-robin strategy
|
[`org.apache.shardingsphere.readwritesplitting.algorithm.loadbalance.TransactionRoundRobinReadQueryLoadBalanceAlgorithm`](https://github.com/apache/shardingsphere/blob/master/features/readwrite-splitting/core/src/main/java/org/apache/shardingspher
[...]
+| TRANSACTION_WEIGHT | Whether in a transaction or not, read requests
are routed to multiple replicas using a weight strategy
|
[`org.apache.shardingsphere.readwritesplitting.algorithm.loadbalance.TransactionWeightReadQueryLoadBalanceAlgorithm`](https://github.com/apache/shardingsphere/blob/master/features/readwrite-splitting/core/src/main/java/org/apache/shardingsphere/re
[...]
+| FIXED_REPLICA_RANDOM | 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 |
[`org.apache.shardingsphere.readwritesplitting.algorithm.loadbalance.FixedReplicaRandomReadQueryLoadBalanceAlgorithm`](https://github.com/apache/shardingsphere/blob/master/features/readwrite-splitting/core/src/main/java/org/apache/shardingsphere/r
[...]
+| FIXED_REPLICA_ROUND_ROBIN | 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 |
[`org.apache.shardingsphere.readwritesplitting.algorithm.loadbalance.FixedReplicaRoundRobinReadQueryLoadBalanceAlgorithm`](https://github.com/apache/shardingsphere/blob/master/features/readwrite-splitting/core/src/main/java/org/apache/shardingsphe
[...]
+| FIXED_REPLICA_WEIGHT | 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 |
[`org.apache.shardingsphere.readwritesplitting.algorithm.loadbalance.FixedReplicaWeightReadQueryLoadBalanceAlgorithm`](https://github.com/apache/shardingsphere/blob/master/features/readwrite-splitting/core/src/main/java/org/apache/shardingsphere/r
[...]
+| FIXED_PRIMARY | All read traffic is routed to the primary
|
[`org.apache.shardingsphere.readwritesplitting.algorithm.loadbalance.FixedPrimaryReadQueryLoadBalanceAlgorithm`](https://github.com/apache/shardingsphere/blob/master/features/readwrite-splitting/core/src/main/java/org/apache/shardingsphere/readwri
[...]