Consistent corruption when no disk space left
Open
- Dominant language
- C++
- Stars
- 39.4k
- Forks
- 8.2k
- PR merge metrics
- No merged PRs in 30d
Description
I've produced a reproduction using Electron Fiddle that consistently corrupts Chromium's leveldb when there is no disk space left.
My assumption was that leveldb would preserve all existing data when a write isn't possible rather than result in a corruption of the database.
[This gist](https://gist.github.com/shadow-light/e00da7bf774f343917627b72a03e075c) can be run using [Electron Fiddle](https://www.electronjs.org/fiddle). It has resulted in a db corruption every time I've tested it.
Contributor guide
Assessment
This issue has not been assessed yet.