xiaoxichen / leveldb

Automatically exported from code.google.com/p/leveldb
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Stop compaction attempts when compaction has failed and paranoid_checks=true #180

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When paranoid checks are on, a failed compaction will cause future writes to 
fail. Compactions will continue to be attempted, however. This doesn't make 
much sense given that 1) compactions are unlikely to recover and will probably 
be expensive no-ops in terms of cpu and disk, and 2) the database is 
effectively read-only at that point and compactions don't help much in a 
read-only scenario.

Original issue reported on code.google.com by dgrogan@chromium.org on 25 Jun 2013 at 10:32

GoogleCodeExporter commented 9 years ago
Sanjay fixed this in 1.15.

Original comment by dgrogan@chromium.org on 8 Jan 2014 at 1:09