Igor Canadi f9b2f0ad79 [CF] Fix CF bugs in WriteBatch
Summary:
This diff fixes two bugs:
* Increase sequence number even if WriteBatch fails. This is important because WriteBatches in WAL logs have implictly increasing sequence number, even if one update in a write batch fails. This caused some writes to get lost in my CF stress testing
* Tolerate 'invalid column family' errors on recovery. When a column family is dropped, processing WAL logs can have some WriteBatches that still refer to the dropped column family. In recovery environment, we want to ignore those errors. In client's Write() code path, however, we want to return the failure to the client if he's trying to add data to invalid column family.

Test Plan: db_stress's verification works now

Reviewers: dhruba, haobo

CC: leveldb

Differential Revision: https://reviews.facebook.net/D16533
2014-03-03 17:07:46 -08:00
..
2014-02-24 15:15:34 -08:00
2014-02-25 10:32:28 -08:00
2014-02-25 10:43:46 -08:00
2014-03-03 17:07:46 -08:00
2014-02-26 10:10:00 -08:00
2013-10-25 08:32:14 -07:00
2014-01-27 14:49:10 -08:00
2014-01-27 14:49:10 -08:00
2014-01-27 14:49:10 -08:00
2014-01-17 12:46:06 -08:00
2014-01-30 22:10:10 -08:00
2014-03-03 17:07:46 -08:00