-
Notifications
You must be signed in to change notification settings - Fork 6.4k
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
Rocksdb open call aborts when DB is full #931
Comments
Yes, that looks like a definite bug! |
@lookforsandy we don't expect users can always open the DB if there is no disk space. You may be able to open it in read-only mode and you place your information log in another place with free space, or disable info logs. I don't have your line number but it looks like the assert asserts we successfully write all the bytes to the file. If you make a release build, you will not have the assert and you'll not fail if no space to your disk for the info logs. |
BTW this is probably related to the same Windows bug: https://github.com/facebook/rocksdb/pull/918/files |
Are we sure that info logs is the only place where we hit this issue when DB is full? |
My guess is that's the only place where we assert. Other places return appropriate errors, which then makes RocksDB Open call return an error. |
|
Closing this via automation due to lack of activity. If discussion is still needed here, please re-open or create a new/updated issue. |
Rocksdb open call aborts when DB is full. Looks like DB open is trying to dump the configuration to LOG file and fails with no space. DB should be allowed to be opened even if there is no space left on device. Looks like a bug.
Comments?
Stack:
Code Base: rocksdb 3.11.0
Thanks !
The text was updated successfully, but these errors were encountered: