rocksdb/db
Igor Canadi c67d48c852 [CF] DB test to run on non-default column family
Summary:
This is a huge diff and it was hectic, but the idea is actually quite simple. Every operation (Put, Get, etc.) done on default column family in DBTest is now forwarded to non-default ("pikachu"). The good news is that we had zero test failures! Column families look stable so far.

One interesting test that I adapted for column families is MultiThreadedTest. I replaced every Put() with a WriteBatch writing to all column families concurrently. Every Put in the write batch contains unique_id. Instead of Get() I do a multiget across all column families with the same key. If atomicity holds, I expect to see the same unique_id in all column families.

Test Plan: This is a test!

Reviewers: dhruba, haobo, kailiu, sdong

CC: leveldb

Differential Revision: https://reviews.facebook.net/D16149
2014-02-14 16:08:59 -08:00
..
builder.cc Put table factory back to public api 2014-02-03 19:51:20 -08:00
builder.h [Performance Branch] PlainTable to encode rows with seqID 0, value type using 1 internal byte. 2014-02-03 12:19:30 -08:00
c.cc C API: add rocksdb_env_set_high_priority_background_threads 2013-12-31 15:14:18 -08:00
c_test.c Rename leveldb to rocksdb in C api 2013-12-10 10:48:35 +02:00
column_family.cc Merge branch 'master' into columnfamilies 2014-02-12 14:01:30 -08:00
column_family.h Merge branch 'master' into columnfamilies 2014-02-12 14:01:30 -08:00
column_family_test.cc [CF] DB test to run on non-default column family 2014-02-14 16:08:59 -08:00
compaction.cc Merge branch 'master' into columnfamilies 2014-02-12 14:01:30 -08:00
compaction.h Merge branch 'master' into columnfamilies 2014-02-12 14:01:30 -08:00
compaction_picker.cc Merge branch 'master' into columnfamilies 2014-02-12 14:01:30 -08:00
compaction_picker.h [CF] Split SanitizeOptions into two 2014-02-04 17:26:51 -08:00
corruption_test.cc Fix corruption_test failure caused by auto-enablement of checksum verification. 2014-01-31 17:16:38 -08:00
db_bench.cc enable plain table in db_bench 2014-02-12 10:41:55 -08:00
db_filesnapshot.cc [CF] DB test to run on non-default column family 2014-02-14 16:08:59 -08:00
db_impl.cc [CF] DB test to run on non-default column family 2014-02-14 16:08:59 -08:00
db_impl.h [CF] DB test to run on non-default column family 2014-02-14 16:08:59 -08:00
db_impl_readonly.cc [CF] Rethinking ColumnFamilyHandle and fix to dropping column families 2014-02-12 13:47:09 -08:00
db_impl_readonly.h [CF] Rethinking ColumnFamilyHandle and fix to dropping column families 2014-02-12 13:47:09 -08:00
db_iter.cc [Performance Branch] PlainTable to encode rows with seqID 0, value type using 1 internal byte. 2014-02-03 12:19:30 -08:00
db_iter.h Add appropriate LICENSE and Copyright message. 2013-10-16 17:48:41 -07:00
db_stats_logger.cc [CF] Rethinking ColumnFamilyHandle and fix to dropping column families 2014-02-12 13:47:09 -08:00
db_test.cc [CF] DB test to run on non-default column family 2014-02-14 16:08:59 -08:00
dbformat.cc [Performance Branch] PlainTable to encode rows with seqID 0, value type using 1 internal byte. 2014-02-03 12:19:30 -08:00
dbformat.h Merge branch 'master' into columnfamilies 2014-02-06 15:58:20 -08:00
dbformat_test.cc Add appropriate LICENSE and Copyright message. 2013-10-16 17:48:41 -07:00
deletefile_test.cc Start DeleteFileTest with clean plate 2013-11-15 16:30:23 -08:00
filename.cc Unify DeleteFile and DeleteWalFiles 2013-10-25 08:32:14 -07:00
filename.h Unify DeleteFile and DeleteWalFiles 2013-10-25 08:32:14 -07:00
filename_test.cc Add appropriate LICENSE and Copyright message. 2013-10-16 17:48:41 -07:00
internal_stats.cc Move compaction picker and internal key comparator to ColumnFamilyData 2014-01-31 16:06:55 -08:00
internal_stats.h Move compaction picker and internal key comparator to ColumnFamilyData 2014-01-31 16:06:55 -08:00
log_format.h Some minor refactoring on the code 2014-01-02 16:32:31 -08:00
log_reader.cc Fix UnmarkEOF for partial blocks 2014-01-27 14:49:10 -08:00
log_reader.h Fix UnmarkEOF for partial blocks 2014-01-27 14:49:10 -08:00
log_test.cc Fix UnmarkEOF for partial blocks 2014-01-27 14:49:10 -08:00
log_writer.cc Add appropriate LICENSE and Copyright message. 2013-10-16 17:48:41 -07:00
log_writer.h Add appropriate LICENSE and Copyright message. 2013-10-16 17:48:41 -07:00
memtable.cc Merge branch 'master' into columnfamilies 2014-02-12 14:01:30 -08:00
memtable.h Merge branch 'master' into columnfamilies 2014-02-12 14:01:30 -08:00
memtable_list.cc Merge branch 'master' into columnfamilies 2014-02-12 14:01:30 -08:00
memtable_list.h Merge branch 'master' into columnfamilies 2014-02-12 14:01:30 -08:00
merge_context.h Introduce MergeContext to Lazily Initialize merge operand list 2013-12-11 11:37:28 -08:00
merge_helper.cc Statistics code cleanup 2014-01-17 12:46:06 -08:00
merge_helper.h [RocksDB] Use raw pointer instead of shared pointer when passing Statistics object internally 2013-11-25 10:38:15 -08:00
merge_operator.cc Add appropriate LICENSE and Copyright message. 2013-10-16 17:48:41 -07:00
merge_test.cc Use ASSERT_EQ() instead of assert() in merge_test 2014-01-11 09:25:47 -08:00
perf_context_test.cc Merge branch 'master' into performance 2013-12-06 14:15:42 -08:00
plain_table_db_test.cc First phase API clean up 2014-02-03 00:30:43 -08:00
prefix_filter_iterator.h Moving Some includes from options.h to forward declaration 2014-01-24 17:16:22 -08:00
prefix_test.cc [Performance Branch] Fix memory leak in HashLinkListRep.GetIterator() 2014-01-10 12:12:28 -08:00
repair.cc Merge branch 'master' into columnfamilies 2014-02-12 14:01:30 -08:00
simple_table_db_test.cc Make table properties shareable 2014-02-07 19:26:49 -08:00
skiplist.h Reduce malloc of iterators in Get() code paths 2014-02-11 10:32:51 -08:00
skiplist_test.cc Clean up arena API 2014-01-30 22:10:10 -08:00
snapshot.h Add appropriate LICENSE and Copyright message. 2013-10-16 17:48:41 -07:00
table_cache.cc Merge branch 'master' into columnfamilies 2014-02-06 15:58:20 -08:00
table_cache.h Merge branch 'master' into columnfamilies 2014-02-06 15:58:20 -08:00
table_properties_collector.cc Extract metaindex block from block-based table 2013-12-05 16:34:16 -08:00
table_properties_collector.h Extract metaindex block from block-based table 2013-12-05 16:34:16 -08:00
table_properties_collector_test.cc Fix problem 3 for issue #80 2014-02-11 17:52:18 -08:00
tailing_iter.cc [column families] Iterator and MultiGet 2014-02-03 17:44:40 -08:00
tailing_iter.h [column families] Iterator and MultiGet 2014-02-03 17:44:40 -08:00
transaction_log_impl.cc Merge branch 'master' into columnfamilies 2014-02-12 14:01:30 -08:00
transaction_log_impl.h [CF] Options -> DBOptions 2014-02-05 14:56:09 -08:00
version_edit.cc Merge branch 'master' into columnfamilies 2014-02-06 15:58:20 -08:00
version_edit.h Merge branch 'master' into columnfamilies 2014-02-06 15:58:20 -08:00
version_edit_test.cc Merge branch 'master' into columnfamilies 2014-01-21 17:01:52 -08:00
version_set.cc Merge branch 'master' into columnfamilies 2014-02-12 14:01:30 -08:00
version_set.h Merge branch 'master' into columnfamilies 2014-02-12 14:01:30 -08:00
version_set_test.cc Add appropriate LICENSE and Copyright message. 2013-10-16 17:48:41 -07:00
write_batch.cc [CF] Rethinking ColumnFamilyHandle and fix to dropping column families 2014-02-12 13:47:09 -08:00
write_batch_internal.h [CF] Rethinking ColumnFamilyHandle and fix to dropping column families 2014-02-12 13:47:09 -08:00
write_batch_test.cc Merge branch 'master' into columnfamilies 2014-02-06 15:58:20 -08:00