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

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

Reply via email to