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

clear pg for moved out member #231

Open
JacksonYao287 opened this issue Nov 26, 2024 · 3 comments
Open

clear pg for moved out member #231

JacksonYao287 opened this issue Nov 26, 2024 · 3 comments
Assignees

Comments

@JacksonYao287
Copy link
Collaborator

JacksonYao287 commented Nov 26, 2024

when a member is moved out of a pg, we should clean up the pg and reclaim the resource allocated to this pg, including:
1 reset all the chunk allocator and return the chunks to chunk selector so that they can be assigned to other pg
2 remove indextable of this pg
3 remove this pg from pg map
4 delete pg and related shard super blk

@xiaoxichen
Copy link
Collaborator

Please do consider persistency and cp. Roughly thinking I believe it is fine but need further analyze .

@JacksonYao287
Copy link
Collaborator Author

also, pls consider the crash recover

@Hooper9973
Copy link
Contributor

do pg clean up in : #242

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

No branches or pull requests

3 participants