pingcap / tidb

TiDB - the open-source, cloud-native, distributed SQL database designed for modern applications.
https://pingcap.com
Apache License 2.0
37.22k stars 5.84k forks source link

Baseline Evolution execution time should be no more than the binding execution time. #23945

Open coocood opened 3 years ago

coocood commented 3 years ago

Feature Request

Is your feature request related to a problem? Please describe:

When enabling the Baseline Evolution feature, a different plan may be executed in the background ocassionally.

The evolution task may be very costly, the default max execution time is set to 600s, which may greatly impact the cluster.

Describe the feature you'd like:

The evolution task should set the max execution time to the binding execution time automatically.

Describe alternatives you've considered:

Teachability, Documentation, Adoption, Migration Strategy:

zz-jason commented 3 years ago

it's more an improvement than a feature request, I changed the label from feature-request to enhancement.

tisonkun commented 3 years ago

@eurekaka is this issue still valid? I notice that the document updated but not associated pull request to change the behavior.