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

How to handle data in SSD after server restart #2020

Open
fduxzbin opened this issue Nov 19, 2024 · 2 comments
Open

How to handle data in SSD after server restart #2020

fduxzbin opened this issue Nov 19, 2024 · 2 comments

Comments

@fduxzbin
Copy link

fduxzbin commented Nov 19, 2024

May I ask how Vineyard handles the data in SSD when the server restarts. I have noticed both of the following situations: 1. After the server restarts, the data in the SSD is cleared. 2. The data in the SSD still exists after the server restarts.

@dashanji
Copy link
Member

dashanji commented Dec 4, 2024

Hi @fduxzbin. It depends on you. You can continue to use the data in SSD when the metadata service is still alive. If you don't want to use it, just delete the data.

@fduxzbin
Copy link
Author

fduxzbin commented Dec 5, 2024

1、When the server restarts, the data in the shared memory is cleared, right? Is the corresponding metadata still alive?
2、Are you saying that when the server restarts, the files in the SSD and metadata still exist and will not be eliminated if they are not actively deleted.
3、When the server restarts, will spilled_obj_ still include objects that were spilled before restarting。

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

2 participants