basho / leveldb

Clone of http://code.google.com/p/leveldb/
BSD 3-Clause "New" or "Revised" License
408 stars 182 forks source link

Option to disable leveldb's recovery log #225

Open matthewvon opened 7 years ago

matthewvon commented 7 years ago

THIS IS AN EXTREMELY DANGEROUS FEATURE. IT CAN EASILY LEAD TO DATA LOSS.

This feature is intended for use with certain internal, non-durable cache scenarios. The data placed into a leveldb database with this option set is vulnerable to loss if system dies or program aborts/segfaults.

Branch discussion is here: https://github.com/basho/leveldb/wiki/mv-disable-recovery-log