RaigorJiang opened a new pull request, #25930:
URL: https://github.com/apache/shardingsphere/pull/25930

   For #25871
   
   ### Before
   ```sql
   mysql> SHOW READWRITE_SPLITTING RULES;
   
+------------+-----------------------------+------------------------+------------------------+--------------------+---------------------+
   | name       | auto_aware_data_source_name | write_data_source_name | 
read_data_source_names | load_balancer_type | load_balancer_props |
   
+------------+-----------------------------+------------------------+------------------------+--------------------+---------------------+
   | ms_group_0 |                             | resource_1             | 
ds_0,ds_1              | random             |                     |
   
+------------+-----------------------------+------------------------+------------------------+--------------------+---------------------+
   1 row in set (0.01 sec)
   ```
   
   
   ### After
   Remove `auto_aware_data_source_name` and add 
`transactional_read_query_strategy`.
   
   ```sql
   mysql> SHOW READWRITE_SPLITTING RULES;
   
+------------+-------------------------+-------------------------+-----------------------------------+--------------------+---------------------+
   | name       | write_storage_unit_name | read_storage_unit_names | 
transactional_read_query_strategy | load_balancer_type | load_balancer_props |
   
+------------+-------------------------+-------------------------+-----------------------------------+--------------------+---------------------+
   | ms_group_0 | write_ds                | read_ds_0,read_ds_1     | DYNAMIC   
                        | random             |                     |
   
+------------+-------------------------+-------------------------+-----------------------------------+--------------------+---------------------+
   1 row in set (0.01 sec)
   ```
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to