-
Notifications
You must be signed in to change notification settings - Fork 658
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
Node failed to recover after running out of disk space #2625
Comments
This can be seen as a bug of rocksdb but we should not care cases of run out of disk space (many parts of system would out of order once run out of disk). In short why it happens:
so it appeared to SST ahead of WALs. |
@ailisp It is fine if the node crashes when it runs out of disk space, but it should not result in an inconsistent state, i.e, we should be able to recover the node. |
So i said the rockdb's bug (it doesn't handle out of disk space properly)
But many other code would not work properly once run out of disk. For this
specific case you just need to delete the most recent empty sst file and
let rocksdb proceed.
…On Mon, May 11, 2020 at 7:02 PM Bowen Wang ***@***.***> wrote:
@ailisp <https://github.com/ailisp> It is fine if the node crashes when
it runs out of disk space, but it should not result in an inconsistent
state, i.e, we should be able to recover the node.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#2625 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADFFFCB5FUOOXAJASDSZX7TRRCU23ANCNFSM4M5NK7UQ>
.
|
I see. Is it a known issue or should we report it? |
For me it looks like (highlevel, half guessed 😃 )
It depends on how do you think write fail due to run out of space is a normal error situation and should be error handled. IMO it's not, disk space outage should be avoided |
When I try to recover a node after it ran out of disk space, I got
The text was updated successfully, but these errors were encountered: