Skip to content

remove the dependency of grpc #1

@SeanHai

Description

@SeanHai

Now curve-manager needs to rely on grpc when requesting data from the storage cluster, because the service of CurveBS storage cluster uses brpc server. But this will make curve-manager depend on curve proto. At present, although the rpc sending module is abstracted into a separate library ([email protected]:SeanHai/curve-go-rpc.git), and used as a submodule of curve-manager It is used, but it is still heavily dependent. Now it is expected to communicate with the curve storage cluster through the http protocol, because the brpc server supports the http protocol, so it can communicate directly through the http protocol, which can remove the dependence on the library curve-go-rpc .
At present, it mainly communicates with the mds service of the storage cluster. mds is in active/standby mode, and only the leader can process requests. Retry and error handling of http requests need to be considered.

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.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions