You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by "sandynz (via GitHub)" <gi...@apache.org> on 2023/09/10 09:10:51 UTC
[GitHub] [shardingsphere] sandynz opened a new pull request, #28402: Add algorithm columns in "show migration check status" DistSQL result
sandynz opened a new pull request, #28402:
URL: https://github.com/apache/shardingsphere/pull/28402
Changes proposed in this pull request:
- Add algorithm columns in "show migration check status" DistSQL result
- Improve migration general E2E to shorten waiting time in waitIncrementTaskFinished
- Impl getSourceDatabaseType() for ConsistencyCheckJobConfiguration
---
Before committing this PR, I'm sure that I have checked the following options:
- [ ] My code follows the [code of conduct](https://shardingsphere.apache.org/community/en/involved/conduct/code/) of this project.
- [ ] I have self-reviewed the commit code.
- [ ] I have (or in comment I request) added corresponding labels for the pull request.
- [ ] I have passed maven check locally : `./mvnw clean install -B -T1C -Dmaven.javadoc.skip -Dmaven.jacoco.skip -e`.
- [ ] I have made corresponding changes to the documentation.
- [ ] I have added corresponding unit tests for my changes.
--
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
[GitHub] [shardingsphere] sandynz commented on pull request #28402: Add algorithm columns in "show migration check status" DistSQL result
Posted by "sandynz (via GitHub)" <gi...@apache.org>.
sandynz commented on PR #28402:
URL: https://github.com/apache/shardingsphere/pull/28402#issuecomment-1712764565
`algorithm_type` and `algorithm_props` columns are added.
Result example:
```
mysql> show migration check status j0102p00008b4985880e5ad6822c87e2a9597ef533;
+-------------------+--------+---------------------+---------------------+-------------------+-------------------------+-------------------------+------------------+----------------+-----------------+---------------+
| tables | result | check_failed_tables | finished_percentage | remaining_seconds | check_begin_time | check_end_time | duration_seconds | algorithm_type | algorithm_props | error_message |
+-------------------+--------+---------------------+---------------------+-------------------+-------------------------+-------------------------+------------------+----------------+-----------------+---------------+
| ds_0.t_order_item | true | | 100 | 0 | 2023-09-10 16:54:12.717 | 2023-09-10 16:54:13.616 | 0 | CRC32_MATCH | | |
+-------------------+--------+---------------------+---------------------+-------------------+-------------------------+-------------------------+------------------+----------------+-----------------+---------------+
1 row in set (0.47 sec)
mysql> show migration check status j0102p00009e6221cef2c4467323e205a1e4d1604b;
+-------------------+--------+---------------------+---------------------+-------------------+-------------------------+-------------------------+------------------+----------------+--------------------+---------------+
| tables | result | check_failed_tables | finished_percentage | remaining_seconds | check_begin_time | check_end_time | duration_seconds | algorithm_type | algorithm_props | error_message |
+-------------------+--------+---------------------+---------------------+-------------------+-------------------------+-------------------------+------------------+----------------+--------------------+---------------+
| ds_0.t_order_copy | true | | 100 | 0 | 2023-09-10 16:53:03.814 | 2023-09-10 16:53:05.124 | 1 | DATA_MATCH | 'chunk-size'='300' | |
+-------------------+--------+---------------------+---------------------+-------------------+-------------------------+-------------------------+------------------+----------------+--------------------+---------------+
1 row in set (0.04 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: notifications-unsubscribe@shardingsphere.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [shardingsphere] tristaZero merged pull request #28402: Add algorithm columns in "show migration check status" DistSQL result
Posted by "tristaZero (via GitHub)" <gi...@apache.org>.
tristaZero merged PR #28402:
URL: https://github.com/apache/shardingsphere/pull/28402
--
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