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

Support CurveBS metadata stored in the database #2224

Open
ilixiaocui opened this issue Feb 3, 2023 · 17 comments
Open

Support CurveBS metadata stored in the database #2224

ilixiaocui opened this issue Feb 3, 2023 · 17 comments
Labels

Comments

@ilixiaocui
Copy link
Contributor

ilixiaocui commented Feb 3, 2023

Description

Currently the metadata of current CurveBS is stored in Etcd. However, Etcd has limited scalability, and the amount of metadata that can be stored is limited. In order to give more options to support larger clusters, it is hoped that the metadata can add a sql database like mysql, MariaDB, PostgreSQL, etc. as one of the storage engines.

It is hoped that the user can choose whether the metadata is stored in the kv engine or the sql engine through the configuration file.

Proposed solution

Add a new sqlstorageclient for [metadata]
(https://github.com/opencurve/curve/blob/master/src/mds/nameserver2/namespace_storage.cpp) .

It should be noted that in addition to storing metadata, Etcd also undertakes the function of leader election, and this part also needs to be modified.

@ilixiaocui ilixiaocui added enhancement improve feature GSOC2023 labels Feb 3, 2023
@Writer-X
Copy link

Hello Mr./Ms. Li, I'm new to open source and saw this project in GSoC 2023. Could you tell me something about the difficulties of this project and the specific requirements for contributors?

@opencurve opencurve deleted a comment from Cyber-SiKu Mar 1, 2023
@ilixiaocui ilixiaocui removed their assignment Mar 1, 2023
@ilixiaocui
Copy link
Contributor Author

Hello Mr./Ms. Li, I'm new to open source and saw this project in GSoC 2023. Could you tell me something about the difficulties of this project and the specific requirements for contributors?

Thanks for following this issue. The issue has already described the places that need to be modified. Is the description in the issue clear to you?

@Writer-X
Copy link

Writer-X commented Mar 2, 2023

Hello Mr./Ms. Li, I'm new to open source and saw this project in GSoC 2023. Could you tell me something about the difficulties of this project and the specific requirements for contributors?

Thanks for following this issue. The issue has already described the places that need to be modified. Is the description in the issue clear to you?

Thanks for your reply.
In my understanding, taking mysql as an example, the issue needs to implement some interfaces to mysql and implement a leader election mechanism for multiple mysql nodes.
My major is closely related to data processing, and I am interested in this issue. If I want to contribute to it, should I prepare something other than reading the source code and trying to run the program?

@yyy1000
Copy link

yyy1000 commented Mar 4, 2023

I'm a senior student in China and am interested in this. Please kindly let me know if any doc helps me to get started.

@ilixiaocui
Copy link
Contributor Author

ilixiaocui commented Mar 6, 2023

Hello Mr./Ms. Li, I'm new to open source and saw this project in GSoC 2023. Could you tell me something about the difficulties of this project and the specific requirements for contributors?

Thanks for following this issue. The issue has already described the places that need to be modified. Is the description in the issue clear to you?

Thanks for your reply. In my understanding, taking mysql as an example, the issue needs to implement some interfaces to mysql and implement a leader election mechanism for multiple mysql nodes. My major is closely related to data processing, and I am interested in this issue. If I want to contribute to it, should I prepare something other than reading the source code and trying to run the program?

There are no others for now. Would you like to join the contributor club for further communication?Please note the issue id when joining the group if you want.
image

@ilixiaocui
Copy link
Contributor Author

I'm a senior student in China and am interested in this. Please kindly let me know if any doc helps me to get started.

How much do you know about the requirements of the current topic? Want to know what kind of documentation you need?

@Tangruilin
Copy link
Contributor

@ilixiaocui , Hello, I am a newbie and I'd like to join the GSOC. I'm intriested in this project, but I have some questions.

@Tangruilin
Copy link
Contributor

  1. Etcd has limited scalability and the amount of metadata that can be stored is limited, If the problem is etcd, why we chose to support a sql database but not a better kv database.
  2. As the description of this issue, I realize that it is to add a new client for sql database and give users choices, is it right?

@ilixiaocui
Copy link
Contributor Author

ilixiaocui commented Mar 8, 2023

  1. Etcd has limited scalability and the amount of metadata that can be stored is limited, If the problem is etcd, why we chose to support a sql database but not a better kv database.
  2. As the description of this issue, I realize that it is to add a new client for sql database and give users choices, is it right?
  1. A better kv database is ok. sql database is a functional requirement.
  2. Yes. Thanks for your review, I will change the description to be more accurate.

@GauriBhandari
Copy link

Hey @ilixiaocui I am a student from India and I would like to contribute to this issue. I wanted to know if this is still available? If it is available then I would like to write a proposal for this.

@ilixiaocui
Copy link
Contributor Author

Hey @ilixiaocui I am a student from India and I would like to contribute to this issue. I wanted to know if this is still available? If it is available then I would like to write a proposal for this.

Of course, please note the timeline, and feel free to raise any ideas or questions you may have.

@GauriBhandari
Copy link

Hey @ilixiaocui I am a student from India and I would like to contribute to this issue. I wanted to know if this is still available? If it is available then I would like to write a proposal for this.

Of course, please note the timeline, and feel free to raise any ideas or questions you may have.

Hey @ilixiaocui I am unable to see this organization (project) on gsoc organization dashboard. Is it still available? Could you please help

@bit-dance
Copy link
Contributor

hello@GauriBhandari .This organization is under cncf and you can search cncf and find their idea lists.Hope it is helpful to you.

@aavhad1910
Copy link

Hi @ilixiaocui and @bit-dance, I am willing to submit a proposal as solutions for this issue, but I see that this issue has already been assigned to someone. Is this assignment final? If not, can I directly submit a proposal?

@ilixiaocui
Copy link
Contributor Author

Hi @ilixiaocui and @bit-dance, I am willing to submit a proposal as solutions for this issue, but I see that this issue has already been assigned to someone. Is this assignment final? If not, can I directly submit a proposal?

@bit-dance Sorry, the registration period has ended.

@ilixiaocui
Copy link
Contributor Author

this topic is in Curve's GSoC2023 and has passed the registration phase.

welcome to pay attention to other good first issues .

@zztaki
Copy link
Contributor

zztaki commented Dec 22, 2023

Mark, I want to learn a lot from this modify~

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

8 participants