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

[curvefs/metaserver] The trash module will lose the current processing inode information that needs to be deleted after a system reboot. #2507

Open
ilixiaocui opened this issue May 30, 2023 · 9 comments
Assignees
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@ilixiaocui
Copy link
Contributor

ilixiaocui commented May 30, 2023

Describe the bug (描述bug)

The trash module is used to delete inodes in the background.

Now its tasks come from the Add interface. When the metaserver restarts, this part of the task will be lost.

This is a historical issue. The original metaserver is in full memory mode. When restarting, all dentry and inode need to be loaded, so this part of information will not be lost. Now the metaserver uses the rocksdb engine. When restarting, it is not necessary to load all the inodes and dentry, and this part of the information will be lost.

To Reproduce (复现方法)

Expected behavior (期望行为)

Versions (各种版本)
OS:
Compiler:
branch:
commit id:

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

@ilixiaocui ilixiaocui added bug Something isn't working good first issue Good for newcomers labels May 30, 2023
@UniverseParticle
Copy link
Contributor

Is this issue due to missing data that needs to be deleted during restarting?So we need to load the inodes and dentry that needs to be deleted

@ilixiaocui
Copy link
Contributor Author

Is this issue due to missing data that needs to be deleted during restarting?So we need to load the inodes and dentry that needs to be deleted

image

@UniverseParticle
Copy link
Contributor

I want to try it. assign me

@ilixiaocui
Copy link
Contributor Author

I want to try it. assign me

Welcome!

@Cyber-SiKu
Copy link
Contributor

@UniverseParticle Have you encountered any difficulties?

@UniverseParticle
Copy link
Contributor

I am currently writing code and have not encountered any difficulties

@caoxianfei1
Copy link
Contributor

I am currently writing code and have not encountered any difficulties

Got it.

@caoxianfei1
Copy link
Contributor

@UniverseParticle Since you haven't responded for a long time, this topic has entered the summer special event. If you want to continue participating, you can go to the official website to sign up https://summercoding-curve.app.codewave.163.com/apply

@Cyber-SiKu
Copy link
Contributor

@UniverseParticle Are there any difficulties with this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

7 participants