leveldb icon indicating copy to clipboard operation
leveldb copied to clipboard

Consistent corruption when no disk space left

Open shadow-light opened this issue 10 months ago • 0 comments

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.

shadow-light avatar Apr 17 '24 05:04 shadow-light