Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide PD self-protection mechanism #4373

Closed
6 of 7 tasks
rleungx opened this issue Nov 24, 2021 · 1 comment · Fixed by #8645
Closed
6 of 7 tasks

Provide PD self-protection mechanism #4373

rleungx opened this issue Nov 24, 2021 · 1 comment · Fixed by #8645
Assignees
Labels
type/feature-request Categorizes issue or PR as related to a new feature.

Comments

@rleungx
Copy link
Member

rleungx commented Nov 24, 2021

Background

We have met many cases which crush down the PD leader or make the PD leader overloaded. Under these circumstances, PD cannot provide important services such as TSO. It has a large impact on high availability and performance.

In the current implementation, PD doesn't have any self-protection mechanism. In other words, any component which accesses etcd directly or PD API may lead to the above things happening, like TiDB, TiFlash, TiCDC, etc. Even we manually request to PD through the raw HTTP API or pd-ctl may cause PD unavailable.

Development task

Some optional tasks:

Testing

TODO

@rleungx rleungx added the type/feature-request Categorizes issue or PR as related to a new feature. label Nov 24, 2021
@rleungx rleungx pinned this issue Nov 24, 2021
@CabinfeverB
Copy link
Member

/assign

CabinfeverB added a commit to CabinfeverB/pd that referenced this issue Dec 10, 2021
Signed-off-by: Cabinfever_B <cabinfeveroier@gmail.com>
CabinfeverB added a commit to CabinfeverB/pd that referenced this issue Dec 10, 2021
Signed-off-by: Cabinfever_B <cabinfeveroier@gmail.com>
CabinfeverB added a commit to CabinfeverB/pd that referenced this issue Dec 10, 2021
… in last commit

Signed-off-by: Cabinfever_B <cabinfeveroier@gmail.com>
CabinfeverB added a commit to CabinfeverB/pd that referenced this issue Dec 10, 2021
Signed-off-by: Cabinfever_B <cabinfeveroier@gmail.com>
CabinfeverB added a commit to CabinfeverB/pd that referenced this issue Dec 15, 2021
Signed-off-by: Cabinfever_B <cabinfeveroier@gmail.com>
CabinfeverB added a commit to CabinfeverB/pd that referenced this issue Dec 15, 2021
Signed-off-by: Cabinfever_B <cabinfeveroier@gmail.com>
CabinfeverB added a commit to CabinfeverB/pd that referenced this issue Dec 15, 2021
Signed-off-by: Cabinfever_B <cabinfeveroier@gmail.com>
CabinfeverB added a commit to CabinfeverB/pd that referenced this issue Dec 15, 2021
Signed-off-by: Cabinfever_B <cabinfeveroier@gmail.com>
CabinfeverB added a commit to CabinfeverB/pd that referenced this issue Dec 15, 2021
Signed-off-by: Cabinfever_B <cabinfeveroier@gmail.com>
CabinfeverB added a commit to CabinfeverB/pd that referenced this issue Dec 15, 2021
Signed-off-by: Cabinfever_B <cabinfeveroier@gmail.com>
CabinfeverB added a commit to CabinfeverB/pd that referenced this issue Dec 15, 2021
Signed-off-by: Cabinfever_B <cabinfeveroier@gmail.com>
CabinfeverB added a commit to CabinfeverB/pd that referenced this issue Dec 15, 2021
Signed-off-by: Cabinfever_B <cabinfeveroier@gmail.com>
CabinfeverB added a commit to CabinfeverB/pd that referenced this issue Dec 15, 2021
Signed-off-by: Cabinfever_B <cabinfeveroier@gmail.com>
CabinfeverB added a commit to CabinfeverB/pd that referenced this issue Dec 15, 2021
Signed-off-by: Cabinfever_B <cabinfeveroier@gmail.com>
CabinfeverB added a commit to CabinfeverB/pd that referenced this issue Dec 15, 2021
Signed-off-by: Cabinfever_B <cabinfeveroier@gmail.com>
CabinfeverB added a commit to CabinfeverB/pd that referenced this issue Dec 15, 2021
Signed-off-by: Cabinfever_B <cabinfeveroier@gmail.com>
CabinfeverB added a commit to CabinfeverB/pd that referenced this issue Dec 16, 2021
Signed-off-by: Cabinfever_B <cabinfeveroier@gmail.com>
CabinfeverB added a commit to CabinfeverB/pd that referenced this issue Dec 20, 2021
Signed-off-by: Cabinfever_B <cabinfeveroier@gmail.com>
CabinfeverB added a commit to CabinfeverB/pd that referenced this issue Dec 20, 2021
Signed-off-by: Cabinfever_B <cabinfeveroier@gmail.com>
CabinfeverB added a commit to CabinfeverB/pd that referenced this issue Dec 20, 2021
Signed-off-by: Cabinfever_B <cabinfeveroier@gmail.com>
CabinfeverB added a commit to CabinfeverB/pd that referenced this issue Dec 20, 2021
Signed-off-by: Cabinfever_B <cabinfeveroier@gmail.com>
CabinfeverB added a commit to CabinfeverB/pd that referenced this issue Dec 21, 2021
Signed-off-by: Cabinfever_B <cabinfeveroier@gmail.com>
CabinfeverB added a commit to CabinfeverB/pd that referenced this issue Dec 22, 2021
This reverts commit 01fb757.

Signed-off-by: Cabinfever_B <cabinfeveroier@gmail.com>
CabinfeverB added a commit to CabinfeverB/pd that referenced this issue Dec 28, 2021
This reverts commit 01fb757.

Signed-off-by: Cabinfever_B <cabinfeveroier@gmail.com>
CabinfeverB added a commit to CabinfeverB/pd that referenced this issue Dec 28, 2021
This reverts commit 01fb757.

Signed-off-by: Cabinfever_B <cabinfeveroier@gmail.com>
CabinfeverB added a commit to CabinfeverB/pd that referenced this issue Dec 28, 2021
This reverts commit 01fb757.

Signed-off-by: Cabinfever_B <cabinfeveroier@gmail.com>
@rleungx rleungx reopened this Jan 4, 2022
@rleungx rleungx unpinned this issue Jul 4, 2022
@ti-chi-bot ti-chi-bot bot closed this as completed in 76dc560 Sep 26, 2024
ti-chi-bot bot added a commit that referenced this issue Sep 30, 2024
ref #4373

Signed-off-by: Ryan Leung <rleungx@gmail.com>

Co-authored-by: ti-chi-bot[bot] <108142056+ti-chi-bot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/feature-request Categorizes issue or PR as related to a new feature.
Projects
None yet
2 participants