pingcap / pingcap/tidb

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
#45,997 0 comments 0 reactions 1 assignee Claimed by @winoros View on GitHub
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:

image

image

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.