You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2022/10/11 10:34:33 UTC

[GitHub] [shardingsphere] sandynz commented on pull request #21501: Improve consistency check job stop/cancel/progress

sandynz commented on PR #21501:
URL: https://github.com/apache/shardingsphere/pull/21501#issuecomment-1274479492

   When consistency check job is stopped, `remaining_seconds` and `duration_seconds` will not growing again, and `check_end_time` will use job stopped time.
   
   The result is consistent if we run this DistSQL several times:
   ```
   mysql> show migration check status 'j0101270cbb6714cff0d7d13db9fa23c7c0a1';
   +---------+--------+---------------------+-------------------+-------------------------+-------------------------+------------------+---------------+
   | tables  | result | finished_percentage | remaining_seconds | check_begin_time        | check_end_time          | duration_seconds | error_message |
   +---------+--------+---------------------+-------------------+-------------------------+-------------------------+------------------+---------------+
   | sbtest1 | false  | 45                  | 421               | 2022-10-11 18:03:20.956 | 2022-10-11 18:09:09.686 | 348              |               |
   +---------+--------+---------------------+-------------------+-------------------------+-------------------------+------------------+---------------+
   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: notifications-unsubscribe@shardingsphere.apache.org

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