curve icon indicating copy to clipboard operation
curve copied to clipboard

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

Open xu-chaojie opened this issue 1 year ago • 4 comments

  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 avatar Jun 26 '23 08:06 xu-chaojie

How can we know the space already to be free?

NaturalSelect avatar Oct 28 '23 06:10 NaturalSelect

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

liuminjian avatar Oct 30 '23 02:10 liuminjian

How can we know the space already to be free?

Check the activity link. https://github.com/opencurve/curve/issues/2847 This issue has not yet been assigned.

Subzeroo7 avatar Oct 30 '23 03:10 Subzeroo7

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

NaturalSelect avatar Oct 30 '23 03:10 NaturalSelect