sandynz opened a new issue #15467:
URL: https://github.com/apache/shardingsphere/issues/15467
## Feature Request
### Is your feature request related to a problem?
No
### Describe the feature you would like.
Currently, when scaling job failure occur, we could not find detailed error
message via DistSQL, check error log is required for now.
Improved solution:
Show detailed error message in DistSQL `show scaling status {jobId}`.
Current DistSQL columns:
```
mysql> show scaling status 744681486039655;
+------+-------------+----------+--------+-------------------------------+--------------------------+
| item | data_source | status | active | inventory_finished_percentage |
incremental_idle_minutes |
+------+-------------+----------+--------+-------------------------------+--------------------------+
```
A new column named `error` will be added at last.
This column should show error message or exception stack trace.
The error message should be persisted to regitry center, e.g. ZK.
Registry center node path: `/scaling/{jobId}/error/{shardingItem}`, similar
as `offset`.
--
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]