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/11/03 09:06:06 UTC

[GitHub] [shardingsphere] azexcy commented on pull request #21929: Improve pipeline incremental_idle_seconds at migration job status

azexcy commented on PR #21929:
URL: https://github.com/apache/shardingsphere/pull/21929#issuecomment-1301812867

   when start migration job
   
   ```
   mysql> show migration status 'j0101728fe6e09b83bc20dc1d8705174aef47';
   +------+-------------+--------------------------+--------+-------------------------+-------------------------------+--------------------------+---------------+
   | item | data_source | status                   | active | processed_records_count | inventory_finished_percentage | incremental_idle_seconds | error_message |
   +------+-------------+--------------------------+--------+-------------------------+-------------------------------+--------------------------+---------------+
   | 0    | ds_0        | EXECUTE_INCREMENTAL_TASK | false  | 3000                    | 100                           | 2031                     |               |
   +------+-------------+--------------------------+--------+-------------------------+-------------------------------+--------------------------+---------------+
   1 row in set (0.16 sec)
   
   mysql> start migration 'j0101728fe6e09b83bc20dc1d8705174aef47';
   Query OK, 0 rows affected (0.74 sec)
   
   mysql> show migration status 'j0101728fe6e09b83bc20dc1d8705174aef47';
   +------+-------------+--------------------------+--------+-------------------------+-------------------------------+--------------------------+---------------+
   | item | data_source | status                   | active | processed_records_count | inventory_finished_percentage | incremental_idle_seconds | error_message |
   +------+-------------+--------------------------+--------+-------------------------+-------------------------------+--------------------------+---------------+
   | 0    | ds_0        | EXECUTE_INCREMENTAL_TASK | true   | 3000                    | 100                           | 2                        |               |
   +------+-------------+--------------------------+--------+-------------------------+-------------------------------+--------------------------+---------------+
   1 row in set (0.09 sec)
   ```
   
   when the job is not have increment task
   ```
   mysql> show migration status 'j0101728fe6e09b83bc20dc1d8705174aef47';
   +------+-------------+--------------------------+--------+-------------------------+-------------------------------+--------------------------+---------------+
   | item | data_source | status                   | active | processed_records_count | inventory_finished_percentage | incremental_idle_seconds | error_message |
   +------+-------------+--------------------------+--------+-------------------------+-------------------------------+--------------------------+---------------+
   | 0    | ds_0        | EXECUTE_INCREMENTAL_TASK | true   | 3000                    | 100                           |                          |               |
   +------+-------------+--------------------------+--------+-------------------------+-------------------------------+--------------------------+---------------+
   1 row in set (4.13 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