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

[Feature] Decommission datapartitions, disks and datanodes automatically #1709

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

tomscut
Copy link
Collaborator

@tomscut tomscut commented Mar 1, 2023

Signed-off-by: Tao Li tomscut@apache.org

What this PR does / why we need it:
Decommission datapartitions, disks and datanodes automatically.

  1. This feature is disabled by default, we can enable it by API /cluster/autoDecommission.
  2. Automatically decommission the datanodes in stale state. A datanode in stale state typically has no heartbeat for more than a certain amount of time.
  3. Automatically decommission baddisks.
  4. Automatically decommission lackPartitions.
  5. Provides APIs /admin/getDecommissionDatanodes and /admin/getDecommissionDisks to query datanodes and disks are decommissioning or decommissioned.

Signed-off-by: Tao Li <tomscut@apache.org>
Signed-off-by: Tao Li <tomscut@apache.org>
Signed-off-by: Tao Li <tomscut@apache.org>
Signed-off-by: Tao Li <tomscut@apache.org>
Signed-off-by: Tao Li <tomscut@apache.org>
…sionDisks

Signed-off-by: Tao Li <tomscut@apache.org>
Signed-off-by: Tao Li <tomscut@apache.org>
Signed-off-by: Tao Li <tomscut@apache.org>
@netlify
Copy link

netlify bot commented Mar 1, 2023

Deploy Preview for cubefs-check ready!

Name Link
🔨 Latest commit 1180463
🔍 Latest deploy log https://app.netlify.com/sites/cubefs-check/deploys/63ff0cb7780cb40008d1d2b1
😎 Deploy Preview https://deploy-preview-1709--cubefs-check.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@mervinkid mervinkid closed this Mar 1, 2023
@mervinkid mervinkid reopened this Mar 1, 2023
@mervinkid mervinkid closed this Mar 1, 2023
@mervinkid mervinkid reopened this Mar 1, 2023
@leonrayang
Copy link
Member

hi @tomscut , this pr has conflicts with the master branch, and we'll release version 3.2.1 this week, the master branch need be protected util it's released, so please fix the conflict after the release and we'll review it again.

@leonrayang leonrayang added the discuss Need to discuss label Mar 29, 2023
@leonrayang leonrayang added the DO NOT MERGE DO not merge or merge later label Mar 29, 2023
@tomscut
Copy link
Collaborator Author

tomscut commented May 5, 2023

hi @tomscut , this pr has conflicts with the master branch, and we'll release version 3.2.1 this week, the master branch need be protected util it's released, so please fix the conflict after the release and we'll review it again.

Ok. I will fix the conflict later. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discuss Need to discuss DO NOT MERGE DO not merge or merge later
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants