rocksdb/db
Igor Canadi 6e56ab5702 [CF] Add full_options_ to ColumnFamilyData
Summary:
Lots of code expects Options on construction/function call. My original idea was to split Options argument into ColumnFamilyOptions and DBOptions (the latter only if needed). However, this will require huge code changes very deep in the stack.

The better idea is to have ColumnFamilyData hold both ColumnFamilyOptions and Options. ColumnFamilyData::Options would be constructed from DBOptions (same for each column family) and ColumnFamilyOptions (different for each column family)

Now when we construct a class or call any method that requires Options, we can just push him ColumnFamilyData::Options and be sure that it's using column-family-specific settings.

Test Plan: make check

Reviewers: dhruba, haobo, kailiu, sdong

CC: leveldb

Differential Revision: https://reviews.facebook.net/D15927
2014-02-05 12:26:40 -08:00
..
builder.cc Don't always compress L0 files written by memtable flush 2014-01-07 21:50:26 -08:00
builder.h Don't always compress L0 files written by memtable flush 2014-01-07 21:50:26 -08:00
c_test.c Rename leveldb to rocksdb in C api 2013-12-10 10:48:35 +02:00
c.cc C API: add rocksdb_env_set_high_priority_background_threads 2013-12-31 15:14:18 -08:00
column_family_test.cc Compacting column families 2014-01-31 19:54:03 -08:00
column_family.cc [CF] Add full_options_ to ColumnFamilyData 2014-02-05 12:26:40 -08:00
column_family.h [CF] Add full_options_ to ColumnFamilyData 2014-02-05 12:26:40 -08:00
compaction_picker.cc [CF] Split SanitizeOptions into two 2014-02-04 17:26:51 -08:00
compaction_picker.h [CF] Split SanitizeOptions into two 2014-02-04 17:26:51 -08:00
compaction.cc VersionSet cleanup 2014-02-03 13:10:47 -08:00
compaction.h Compacting column families 2014-01-31 19:54:03 -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 use super_version in NewIterator() and MultiGet() function 2014-02-03 13:13:36 -08:00
db_filesnapshot.cc Change ColumnFamilyData from struct to class 2014-01-29 15:18:36 -08:00
db_impl_readonly.cc Get rid of DBImpl::user_comparator() 2014-02-03 17:50:47 -08:00
db_impl_readonly.h [column families] Iterator and MultiGet 2014-02-03 17:44:40 -08:00
db_impl.cc [CF] Rethink table cache 2014-02-05 11:55:30 -08:00
db_impl.h [CF] Rethink table cache 2014-02-05 11:55:30 -08:00
db_iter.cc Add column family information to WAL 2014-01-08 12:53:33 -08:00
db_iter.h Add appropriate LICENSE and Copyright message. 2013-10-16 17:48:41 -07:00
db_stats_logger.cc Change ColumnFamilyData from struct to class 2014-01-29 15:18:36 -08:00
db_test.cc Merge branch 'master' into columnfamilies 2014-02-03 13:47:54 -08:00
dbformat_test.cc Add appropriate LICENSE and Copyright message. 2013-10-16 17:48:41 -07:00
dbformat.cc Add appropriate LICENSE and Copyright message. 2013-10-16 17:48:41 -07:00
dbformat.h Add column family information to WAL 2014-01-08 12:53:33 -08:00
deletefile_test.cc Start DeleteFileTest with clean plate 2013-11-15 16:30:23 -08:00
filename_test.cc Add appropriate LICENSE and Copyright message. 2013-10-16 17:48:41 -07: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
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 Add appropriate LICENSE and Copyright message. 2013-10-16 17:48:41 -07: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-05 12:00:33 -08:00
memtable.h [column families] Move memtable and immutable memtable list to column family data 2014-01-27 13:37:14 -08:00
memtablelist.cc LogAndApply to take ColumnFamilyData 2014-01-27 13:57:58 -08:00
memtablelist.h LogAndApply to take ColumnFamilyData 2014-01-27 13:57:58 -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 Killing Transform Rep 2013-12-03 12:42:15 -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 Killing Transform Rep 2013-12-03 12:42:15 -08:00
repair.cc [CF] Add full_options_ to ColumnFamilyData 2014-02-05 12:26:40 -08:00
simple_table_db_test.cc Statistics code cleanup 2014-01-17 12:46:06 -08:00
skiplist_test.cc Add appropriate LICENSE and Copyright message. 2013-10-16 17:48:41 -07:00
skiplist.h Moving Some includes from options.h to forward declaration 2014-01-24 17:16:22 -08:00
snapshot.h Add appropriate LICENSE and Copyright message. 2013-10-16 17:48:41 -07:00
table_cache.cc [CF] Add full_options_ to ColumnFamilyData 2014-02-05 12:26:40 -08:00
table_cache.h [CF] Add full_options_ to ColumnFamilyData 2014-02-05 12:26:40 -08:00
table_properties_collector_test.cc Move flush_block_policy from Options to TableFactory 2013-11-19 22:00:48 -08:00
table_properties_collector.cc Improve the readability of the TableProperties::ToString() 2013-11-21 17:54:23 -08:00
table_properties_collector.h Improve the "table stats" 2013-11-19 16:29:42 -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 Fix the string format issue 2013-11-12 21:05:39 -08:00
transaction_log_impl.h Making the transaction log iterator more robust 2013-11-04 20:49:03 -08:00
version_edit_test.cc Merge branch 'master' into columnfamilies 2014-01-21 17:01:52 -08:00
version_edit.cc Fix some lint warnings 2014-01-29 15:27:27 -08:00
version_edit.h Fix some lint warnings 2014-01-29 15:27:27 -08:00
version_set_test.cc Add appropriate LICENSE and Copyright message. 2013-10-16 17:48:41 -07:00
version_set.cc [CF] Rethink table cache 2014-02-05 11:55:30 -08:00
version_set.h [CF] Rethink table cache 2014-02-05 11:55:30 -08:00
write_batch_internal.h Read from and write to different column families 2014-01-29 11:38:16 -08:00
write_batch_test.cc [column families] Move memtable and immutable memtable list to column family data 2014-01-27 13:37:14 -08:00
write_batch.cc Fix some lint warnings 2014-01-29 15:27:27 -08:00