tidb-dashboard icon indicating copy to clipboard operation
tidb-dashboard copied to clipboard

Return a readable message instead of returning the error message directly

Open XuHuaiyu opened this issue 4 years ago • 0 comments

Feature Request

Is your feature request related to a problem? Please describe: After https://github.com/pingcap/tidb/pull/33953, when the query on cluster_slow_log consumes too much memory, the error message will be returned to the user directly. This error message is not user-friendly.

飞书20220427-114302

Describe the feature you'd like:

We may return a more user-friendly message like You may contract the timeline you wanna query and retry, cause xxxx

Describe alternatives you've considered:

Teachability, Documentation, Adoption, Migration Strategy:

XuHuaiyu avatar Apr 27 '22 03:04 XuHuaiyu