You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by du...@apache.org on 2022/07/05 03:27:09 UTC

[shardingsphere] branch master updated: Update config-sharding.yaml (#18849)

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

duanzhengqiang 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 9735151f9eb Update config-sharding.yaml (#18849)
9735151f9eb is described below

commit 9735151f9eb1bed2945abee7161aed2389993703
Author: Liang Zhang <zh...@apache.org>
AuthorDate: Tue Jul 5 11:27:05 2022 +0800

    Update config-sharding.yaml (#18849)
---
 .../src/main/resources/conf/config-sharding.yaml   | 35 +++++++++++++++-------
 1 file changed, 25 insertions(+), 10 deletions(-)

diff --git a/shardingsphere-proxy/shardingsphere-proxy-bootstrap/src/main/resources/conf/config-sharding.yaml b/shardingsphere-proxy/shardingsphere-proxy-bootstrap/src/main/resources/conf/config-sharding.yaml
index ff3d43a141f..e11cf042f04 100644
--- a/shardingsphere-proxy/shardingsphere-proxy-bootstrap/src/main/resources/conf/config-sharding.yaml
+++ b/shardingsphere-proxy/shardingsphere-proxy-bootstrap/src/main/resources/conf/config-sharding.yaml
@@ -73,7 +73,11 @@
 #      shardingAlgorithmName: database_inline
 #  defaultTableStrategy:
 #    none:
-#  
+#  auditStrategy:
+#    auditAlgorithmNames:
+#      - sharding_key_required_audit_algorithm
+#    allowHintDisable: true
+#
 #  shardingAlgorithms:
 #    database_inline:
 #      type: INLINE
@@ -92,6 +96,10 @@
 #    snowflake:
 #      type: SNOWFLAKE
 #
+#  auditAlgorithms:
+#    sharding_key_required_audit_algorithm:
+#      type: DML_SHARDING_CONDITIONS
+#
 #  scalingName: default_scaling
 #  scaling:
 #    default_scaling:
@@ -113,6 +121,14 @@
 #        type: DATA_MATCH
 #        props:
 #          chunk-size: 1000
+#
+#  auditAlgorithms:
+#    sharding_key_required_audit_algorithm:
+#      type: DML_SHARDING_CONDITIONS
+#  auditStrategy:
+#    auditAlgorithmNames:
+#      - sharding_key_required_audit_algorithm
+#    allowHintDisable: true
 
 ######################################################################################################
 #
@@ -171,6 +187,10 @@
 #      shardingAlgorithmName: database_inline
 #  defaultTableStrategy:
 #    none:
+#  auditStrategy:
+#    auditAlgorithmNames:
+#      - sharding_key_required_audit_algorithm
+#    allowHintDisable: true
 #
 #  shardingAlgorithms:
 #    database_inline:
@@ -190,6 +210,10 @@
 #    snowflake:
 #      type: SNOWFLAKE
 #
+#  auditAlgorithms:
+#    sharding_key_required_audit_algorithm:
+#      type: DML_SHARDING_CONDITIONS
+#
 #  scalingName: default_scaling
 #  scaling:
 #    default_scaling:
@@ -211,12 +235,3 @@
 #        type: DATA_MATCH
 #        props:
 #          chunk-size: 1000
-
-#  When shard auditing is required, the following properties can be configured
-#  auditAlgorithms:
-#    audit_algorithm1:
-#      type: DML_SHARDING_CONDITIONS
-#  auditStrategy:
-#    auditAlgorithmNames:
-#      - audit_algorithm1
-#    allowHintDisable: true
\ No newline at end of file