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

Tracking issue for PD own service self-protection #4480

Closed
15 of 18 tasks
CabinfeverB opened this issue Dec 20, 2021 · 3 comments
Closed
15 of 18 tasks

Tracking issue for PD own service self-protection #4480

CabinfeverB opened this issue Dec 20, 2021 · 3 comments
Assignees
Labels
type/enhancement The issue or PR belongs to an enhancement.

Comments

@CabinfeverB
Copy link
Member

CabinfeverB commented Dec 20, 2021

Enhancement

This issue is tracking PD's own service self-protection mechanism.

The self-protection mechanism (refer to #4373) consists of two parts the standard use of etcd and the own service of PD itself. PD provides services for other components in two ways: HTTP API and gRPC. But now PD provides gRPC service by embedding etcd which is lack of a method to use gRPC interceptor, so we will support HTTP self-protection firstly.

We will develop two features to implement the self-protection mechanism. Such as k8s, hold a handler chain to process middleware. So PD will hold the rate limit handler and auditing handler. To gather some information used by the above handlers, it will also hold an information-gathering handler.

Subtasks

TODO

  • support gRPC self-protection
@CabinfeverB CabinfeverB added the type/enhancement The issue or PR belongs to an enhancement. label Dec 20, 2021
@CabinfeverB
Copy link
Member Author

/assign

ti-chi-bot added a commit that referenced this issue May 17, 2022
ref #4480

add service config

Signed-off-by: Cabinfever_B <cabinfeveroier@gmail.com>

Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
ti-chi-bot added a commit that referenced this issue Oct 17, 2022
ref #4480

Signed-off-by: Cabinfever_B <cabinfeveroier@gmail.com>

Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
@lhy1024
Copy link
Contributor

lhy1024 commented Nov 9, 2022

@CabinfeverB Can we close it?

@CabinfeverB
Copy link
Member Author

Closed since most tasks has been finished.

ti-chi-bot bot added a commit that referenced this issue Oct 25, 2023
ref #4480

Signed-off-by: Cabinfever_B <cabinfeveroier@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/enhancement The issue or PR belongs to an enhancement.
Projects
None yet
Development

No branches or pull requests

2 participants