leveldb
leveldb copied to clipboard
Consistent corruption when no disk space left
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 can be run using Electron Fiddle. It has resulted in a db corruption every time I've tested it.