rocksdb/utilities
sdong 76d1c28e82 Make CompactionPicker more easily tested
Summary:
Make compaction picker easier to test.
The basic idea is to separate a minimum subcomponent of Version to VersionStorageInfo, which just responsible to LSM tree. A stub VersionStorageInfo can then be easily created and passed into compaction picker so that we can check the outputs.

It now passes most tests. Still two things need to be done:
(1) deal with the FIFO compaction's file size.
(2) write an example test to make sure the interface can do the job.

Add a compaction_picker_test to make sure compaction picker codes can be easily unit tested.

Test Plan:
Pass all unit tests and compaction_picker_test

Reviewers: yhchiang, rven, igor, ljin

Reviewed By: ljin

Subscribers: leveldb, dhruba

Differential Revision: https://reviews.facebook.net/D27639
2014-10-29 15:16:53 -07:00
..
backupable backupable_db_test.cc: pass const string param by reference 2014-10-01 11:57:01 +02:00
compacted_db Make CompactionPicker more easily tested 2014-10-29 15:16:53 -07:00
document Avoid dereferencing a null field 2014-10-07 01:40:29 -07:00
geodb fix more compile warnings 2014-09-05 14:14:37 +08:00
merge_operators Move include/utilities/*.h to include/rocksdb/utilities/*.h 2014-07-23 10:21:38 -04:00
options convert Options from string 2014-10-10 10:00:12 -07:00
redis RocksDBLite 2014-04-15 13:39:26 -07:00
spatialdb spatialdb/spatial_db.cc: use !empty() instead of 'size() > 0' 2014-09-30 23:30:32 +02:00
ttl ttl/ttl_test.cc: pass const string param by reference 2014-10-01 11:53:00 +02:00
write_batch_with_index WriteBatchWithIndex's Iterator bug of SeekToFirst() and SeekToLast() 2014-10-15 07:33:32 -07:00
merge_operators.h Add appropriate LICENSE and Copyright message. 2013-10-16 17:48:41 -07:00