planner: cancel the current analyze job instead of using 1 as the sample rate if cannot access PD when the optimizer determine analyze sample rate
Open
component/statistics
sig/planner
type/enhancement
- Dominant language
- Go
- Stars
- 40.5k
- Forks
- 6.2k
- PR merge metrics
- PR metrics pending
Description
## Enhancement
Distinguish two status `access PD error` and `no PD node for this cluster`, and avoid using 1 as the sample rate when
encountering access PD error to prevent analyzing OOM:
Contributor guide
Assessment
This issue has not been assessed yet.