You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by "TeslaCN (via GitHub)" <gi...@apache.org> on 2023/04/28 06:41:13 UTC

[GitHub] [shardingsphere] TeslaCN opened a new issue, #25389: `set dist variable sql_show = 1` showed succeed but ineffective

TeslaCN opened a new issue, #25389:
URL: https://github.com/apache/shardingsphere/issues/25389

   ## Bug Report
   
   ### Which version of ShardingSphere did you use?
   
   master - 2da012130897dd302482e79c9c58424d0cab2c22
   
   ### Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy?
   
   ShardingSphere-Proxy
   
   ### Expected behavior
   
   Enable `sql-show` or reject input.
   
   ### Actual behavior
   
   ```
   bmsql_sharding=> set dist variable sql_show = 1;
   SUCCESS
   
   bmsql_sharding=> show dist variables;
                variable_name             | variable_value  
   ---------------------------------------+-----------------
    agent_plugins_enabled                 | true
    cached_connections                    | 0
    cdc_server_port                       | 33071
    check_table_metadata_enabled          | false
    kernel_executor_size                  | 0
    max_connections_size_per_query        | 1
    proxy_backend_query_fetch_size        | 50
    proxy_default_port                    | 3307
    proxy_frontend_database_protocol_type | 
    proxy_frontend_executor_size          | 4
    proxy_frontend_flush_threshold        | 128
    proxy_frontend_max_connections        | 0
    proxy_frontend_ssl_cert_file          | 
    proxy_frontend_ssl_cipher             | 
    proxy_frontend_ssl_enabled            | true
    proxy_frontend_ssl_key_file           | 
    proxy_frontend_ssl_version            | TLSv1.2,TLSv1.3
    proxy_hint_enabled                    | false
    proxy_instance_type                   | Proxy
    proxy_meta_data_collector_enabled     | true
    proxy_netty_backlog                   | 1024
    sql_federation_type                   | NONE
    sql_show                              | false
    sql_simple                            | false
    system_log_level                      | INFO
    transaction_type                      | LOCAL
   (26 rows)
   
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [shardingsphere] RaigorJiang commented on issue #25389: `set dist variable sql_show = 1` showed succeed but ineffective

Posted by "RaigorJiang (via GitHub)" <gi...@apache.org>.
RaigorJiang commented on issue #25389:
URL: https://github.com/apache/shardingsphere/issues/25389#issuecomment-1527270623

   Maybe we should add a validation strategy for each property.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org