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

CurveBS: All chunkservers share walpool #1942

Open
ilixiaocui opened this issue Sep 28, 2022 · 2 comments
Open

CurveBS: All chunkservers share walpool #1942

ilixiaocui opened this issue Sep 28, 2022 · 2 comments
Labels
enhancement improve feature good first issue Good for newcomers

Comments

@ilixiaocui
Copy link
Contributor

Is your feature request related to a problem? (你需要的功能是否与某个问题有关?)
The files used by wal in raft are obtained from the file pool.
The current design is that each chunkserver has its own file pool. We hope to provide a way that all chunkservers on a machine can share a file pool. Facilitates the sharing of space.

Describe the solution you'd like (描述你期望的解决方法)
Provides a process-safe FilePool

class CURVE_CACHELINE_ALIGNMENT FilePool {

Describe alternatives you've considered (描述你想到的折衷方案)

Additional context/screenshots (更多上下文/截图)

@ilixiaocui ilixiaocui added enhancement improve feature good first issue Good for newcomers labels Sep 28, 2022
@yubindy
Copy link
Member

yubindy commented Sep 28, 2022

This means that the walpool and chunkfilepool are separated, a chunkserver occupies a chunkfile, and this physical machine exclusively occupies the walpool, so the filepool of this part of the walpool is obtained from a separate chunkserver, right? What I understand is

@ilixiaocui
Copy link
Contributor Author

ilixiaocui commented Sep 28, 2022

This means that the walpool and chunkfilepool are separated, a chunkserver occupies a chunkfile, and this physical machine exclusively occupies the walpool, so the filepool of this part of the walpool is obtained from a separate chunkserver, right? What I understand is

walpool and chunkfilepool now support separate configuration,as follows in conf/chunkserver.conf
image

Currently:
chunkserver1 walpool chunkfilepool
chunkserver2 walpool chunkfilepool

We want all chunkserver shares walpool
image

@opencurve opencurve deleted a comment from wuhongsong Mar 13, 2023
@opencurve opencurve deleted a comment from wuhongsong Mar 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement improve feature good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants