You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by zh...@apache.org on 2022/11/28 14:38:16 UTC

[shardingsphere] branch master updated: Default open sys_data collector. (#22483)

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

zhangliang 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 40e41db4d27 Default open sys_data collector. (#22483)
40e41db4d27 is described below

commit 40e41db4d27c0c40e11f62f6d1c381b03a0220ff
Author: Chuxin Chen <ch...@qq.com>
AuthorDate: Mon Nov 28 22:38:08 2022 +0800

    Default open sys_data collector. (#22483)
---
 .../shardingsphere/infra/config/props/ConfigurationPropertyKey.java   | 4 ++--
 .../src/test/resources/env/common/cluster/proxy/conf/server.yaml      | 1 -
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/infra/common/src/main/java/org/apache/shardingsphere/infra/config/props/ConfigurationPropertyKey.java b/infra/common/src/main/java/org/apache/shardingsphere/infra/config/props/ConfigurationPropertyKey.java
index 20b45b4ead9..2b265797308 100644
--- a/infra/common/src/main/java/org/apache/shardingsphere/infra/config/props/ConfigurationPropertyKey.java
+++ b/infra/common/src/main/java/org/apache/shardingsphere/infra/config/props/ConfigurationPropertyKey.java
@@ -127,12 +127,12 @@ public enum ConfigurationPropertyKey implements TypedPropertyKey {
     /**
      * Metadata chunk unit rows.
      */
-    METADATA_CHUNK_UNIT_ROWS("metadata-chunk-unit-rows", "100", int.class, true),
+    METADATA_CHUNK_UNIT_ROWS("metadata-chunk-unit-rows", "100", int.class, false),
     
     /**
      * Proxy metadata collector enabled.
      */
-    PROXY_METADATA_COLLECTOR_ENABLED("proxy-metadata-collector-enabled", String.valueOf(Boolean.FALSE), boolean.class, true);
+    PROXY_METADATA_COLLECTOR_ENABLED("proxy-metadata-collector-enabled", String.valueOf(Boolean.TRUE), boolean.class, true);
     
     private final String key;
     
diff --git a/test/integration-test/test-suite/src/test/resources/env/common/cluster/proxy/conf/server.yaml b/test/integration-test/test-suite/src/test/resources/env/common/cluster/proxy/conf/server.yaml
index ef35b20dc1d..2175a2242bb 100644
--- a/test/integration-test/test-suite/src/test/resources/env/common/cluster/proxy/conf/server.yaml
+++ b/test/integration-test/test-suite/src/test/resources/env/common/cluster/proxy/conf/server.yaml
@@ -41,4 +41,3 @@ props:
   proxy-hint-enabled: true
   sql-show: false
   sql-federation-type: ADVANCED
-  proxy-metadata-collector-enabled: true