sandynz opened a new issue #15468:
URL: https://github.com/apache/shardingsphere/issues/15468


   ## Feature Request
   
   ### Is your feature request related to a problem?
   No
   
   ### Describe the feature you would like.
   Currently, we could just query rough progress from `show scaling status 
jobId` DistSQL result, which includes `inventory_finished_percentage`. It's not 
enough if users want to check detailed progress.
   
   Improved solution:
   Show estimated finished count in `show scaling status jobId` DistSQL result, 
which includes estimated finished `inventory records count` and `incremental 
events count`.
   
   Current DistSQL columns:
   ```
   mysql> show scaling status 744681486039655;
   
+------+-------------+----------+--------+-------------------------------+--------------------------+
   | item | data_source | status   | active | inventory_finished_percentage | 
incremental_idle_minutes |
   
+------+-------------+----------+--------+-------------------------------+--------------------------+
   ```
   
   Two new columns `estimated_inventory_finished_count` and 
`estimated_incremental_finished_count` will be added after 
`inventory_finished_percentage` column.
   
   Where is the estimated finished count stored?
   Maybe we could reuse `offset` path, extend `YamlInventory` and 
`YamlIncremental`.
   


-- 
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