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

When the cluster capacity is almost full, make the cluster read only #2561

Open
xu-chaojie opened this issue Jun 26, 2023 · 4 comments
Open
Assignees
Labels

Comments

@xu-chaojie
Copy link
Member

xu-chaojie commented Jun 26, 2023

  1. When the space of a single chunkserver of curvebs is insufficient, do not directly down.
    The code is here:
    op_request.cpp, WriteChunkRequest::OnApply
image

and here:
image

  1. It is necessary to make the cluster read-only when the cluster capacity is almost full, and restore the cluster to be readable and writable after waiting for the space to be free

Registration procedure

Step 1. Add a comment when you sign up.The purpose of comments is for us to understand you and determine whether you have the basic ability to complete this issue.

  • If you are a student, please introduce your school, major, programming language, technical fields of interest, what you are good at, and why you chose this issue.
  • If you are already working, please introduce your company, career, work content, technical fields of interest, and why you chose this issue.

Step 2. Use WeChat to add the Curve community assistant "Curve" as a WeChat friend, tell your GitHub ID, and send the Issue link of your choice. The assistant will invite you to communicate with the mentor by WeChat.

Step 3. In order to better complete each development task, the mentor will select the developer who best matches the issue based on everyone's comment on GitHub and communication status by WeChat. If you are not selected, please select another issue.

Tips

  • Before developing, please read the dev guideline( https://ask.opencurve.io/t/topic/201) carefully and communicate with your mentor.
  • Please submit a draft PR before 11.29, and the mentor will review it within 2-5 working days and may guide you to modify the PR based on the actual situation.
  • If you successfully merge into PR before 12.27 and you will receive gifts carefully prepared by the Curve community.
@xu-chaojie xu-chaojie added the enhancement improve feature label Jun 26, 2023
@xu-chaojie xu-chaojie changed the title When the cluster capacity is almost full, limit the IO speed When the cluster capacity is almost full, make the cluster read only Jul 4, 2023
@opencurve opencurve deleted a comment from kevincheng2 Oct 25, 2023
@NaturalSelect
Copy link
Contributor

How can we know the space already to be free?

@liuminjian
Copy link

liuminjian commented Oct 30, 2023

hello,i am a development engineer at chinatelecom cloud. I am very interested in cloud-native and storage systems. Can i try this?

@Subzeroo7
Copy link

How can we know the space already to be free?

Check the activity link. #2847
This issue has not yet been assigned.

@NaturalSelect
Copy link
Contributor

Hello, I'm very interested in this issue, please let me try it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants