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

Standardize the use of etcd #4349

Open
6 of 7 tasks
Tracked by #4373
JmPotato opened this issue Nov 18, 2021 · 1 comment
Open
6 of 7 tasks
Tracked by #4373

Standardize the use of etcd #4349

JmPotato opened this issue Nov 18, 2021 · 1 comment
Labels
component/storage Internal storage of PD, e.g, etcd and LevelDB. type/enhancement The issue or PR belongs to an enhancement.

Comments

@JmPotato
Copy link
Member

JmPotato commented Nov 18, 2021

Background

PD owns an embedded etcd to store all kinds of things, such as:

  • Cluster meta info
  • Region/Store info
  • TSO info
  • Placement Rules info
  • ...

More than these, some other components will also write things into etcd, such as:

  • TiDB DDL
  • TiKV GCSafePoint
  • CDC task info
  • TiUP/TiDB-Operator

For now, the use of etcd within PD and by these components is highly casual, which caused some problems.

So we need to standardize the use of etcd.

Development Task

To achieve this, we need to remedy these behaviors from two perspectives.

Internal

External

@JmPotato JmPotato added the type/enhancement The issue or PR belongs to an enhancement. label Nov 18, 2021
@JmPotato JmPotato pinned this issue Nov 18, 2021
@JmPotato JmPotato added the component/storage Internal storage of PD, e.g, etcd and LevelDB. label Nov 18, 2021
@JmPotato
Copy link
Member Author

Namespace Quota Feature Proposal is an RFC to add namespace isolation for multiple users in a single etcd cluster while limiting the quota for each of them. It seems that we can benefit from it also.

@rleungx rleungx unpinned this issue Nov 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/storage Internal storage of PD, e.g, etcd and LevelDB. type/enhancement The issue or PR belongs to an enhancement.
Projects
None yet
Development

No branches or pull requests

1 participant