rocksdb/include/rocksdb
Igor Canadi 8b7ab9951c [CF] Handle failure in WriteBatch::Handler
Summary:
* Add ColumnFamilyHandle::GetID() function. Client needs to know column family's ID to be able to construct WriteBatch
* Handle WriteBatch::Handler failure gracefully. Since WriteBatch is not a very smart function (it takes raw CF id), client can add data to WriteBatch for column family that doesn't exist. In that case, we need to gracefully return failure status from DB::Write(). To do that, I added a return Status to WriteBatch functions PutCF, DeleteCF and MergeCF.

Test Plan: Added test to column_family_test

Reviewers: dhruba, haobo

CC: leveldb

Differential Revision: https://reviews.facebook.net/D16323
2014-02-26 10:10:00 -08:00
..
c.h A few more C API functions. 2014-02-25 10:32:28 -08:00
cache.h Merge branch 'master' into performance 2014-01-28 10:35:55 -08:00
compaction_filter.h CompactionContext to include is_manual_compaction 2014-02-12 12:24:18 -08:00
comparator.h Add License message to public header files. 2013-11-18 10:21:35 -08:00
db.h [CF] Handle failure in WriteBatch::Handler 2014-02-26 10:10:00 -08:00
env.h Merge branch 'master' into columnfamilies 2014-02-26 10:09:52 -08:00
filter_policy.h Add License message to public header files. 2013-11-18 10:21:35 -08:00
flush_block_policy.h Add License message to public header files. 2013-11-18 10:21:35 -08:00
iterator.h Add License message to public header files. 2013-11-18 10:21:35 -08:00
ldb_tool.h Add License message to public header files. 2013-11-18 10:21:35 -08:00
memtablerep.h Reduce malloc of iterators in Get() code paths 2014-02-11 10:32:51 -08:00
merge_operator.h Introduce MergeContext to Lazily Initialize merge operand list 2013-12-11 11:37:28 -08:00
options.h Merge branch 'master' into columnfamilies 2014-02-12 14:01:30 -08:00
perf_context.h Revert "Allow users to profile a query and see bottleneck of the query" 2013-11-21 17:40:39 -08:00
slice_transform.h Add License message to public header files. 2013-11-18 10:21:35 -08:00
slice.h Add License message to public header files. 2013-11-18 10:21:35 -08:00
statistics.h Expose the table properties to application 2014-02-13 16:28:21 -08:00
status.h IOError cleanup 2014-02-12 11:42:54 -08:00
table_properties.h Support prefix seek in UserCollectedProperties 2014-02-12 13:14:59 -08:00
table.h Add more black-box tests for PlainTable and explicitly support total order mode 2014-02-12 17:37:22 -08:00
transaction_log.h Initialize sequence number in BatchResult - issue #39 2013-12-20 10:01:12 -08:00
types.h Add License message to public header files. 2013-11-18 10:21:35 -08:00
universal_compaction.h Moving Some includes from options.h to forward declaration 2014-01-24 17:16:22 -08:00
write_batch.h [CF] Handle failure in WriteBatch::Handler 2014-02-26 10:10:00 -08:00