rocksdb/db
sdong 4266d4fd90 Allow users to migrate to options.level_compaction_dynamic_level_bytes=true using CompactRange()
Summary: In DB::CompactRange(), change parameter "reduce_level" to "change_level". Users can compact all data to the last level if needed. By doing it, users can migrate the DB to options.level_compaction_dynamic_level_bytes=true.

Test Plan: Add a unit test for it.

Reviewers: yhchiang, anthony, kradhakrishnan, igor, rven

Reviewed By: rven

Subscribers: leveldb, dhruba

Differential Revision: https://reviews.facebook.net/D39099
2015-06-01 18:21:14 -07:00
..
builder.cc Allow GetThreadList to report Flush properties. 2015-05-15 23:22:22 -07:00
builder.h Add more table properties to EventLogger 2015-05-12 15:53:55 -07:00
c.cc Support saving history in memtable_list 2015-05-28 16:34:24 -07:00
c_test.c
column_family.cc Optimistic Transactions 2015-05-29 14:36:35 -07:00
column_family.h Optimistic Transactions 2015-05-29 14:36:35 -07:00
column_family_test.cc Support saving history in memtable_list 2015-05-28 16:34:24 -07:00
compact_files_test.cc
compaction.cc Universal Compaction with multiple levels won't allocate up to output size 2015-05-13 14:15:46 -07:00
compaction.h Cleanup CompactionJob 2015-05-05 19:01:12 -07:00
compaction_job.cc Rename EventLoggerHelpers EventHelpers 2015-05-28 13:37:47 -07:00
compaction_job.h Allow GetThreadList() to report basic compaction operation properties. 2015-05-06 22:51:06 -07:00
compaction_job_test.cc Cleanup CompactionJob 2015-05-05 19:01:12 -07:00
compaction_picker.cc CompactRange skips levels 1 to base_level -1 for dynamic level base size 2015-05-18 10:54:11 -07:00
compaction_picker.h Optimize GetRange Function 2015-05-05 09:57:47 -07:00
compaction_picker_test.cc Reset parent_index and base_index when picking files marked for compaction 2015-05-12 11:16:25 -07:00
comparator_db_test.cc
corruption_test.cc
cuckoo_table_db_test.cc
db_bench.cc Fix compile on darwin 2015-05-30 12:25:45 -04:00
db_filesnapshot.cc
db_impl.cc Allow users to migrate to options.level_compaction_dynamic_level_bytes=true using CompactRange() 2015-06-01 18:21:14 -07:00
db_impl.h Allow users to migrate to options.level_compaction_dynamic_level_bytes=true using CompactRange() 2015-06-01 18:21:14 -07:00
db_impl_debug.cc
db_impl_experimental.cc
db_impl_readonly.cc
db_impl_readonly.h
db_iter.cc
db_iter.h
db_iter_test.cc
db_test.cc Allow users to migrate to options.level_compaction_dynamic_level_bytes=true using CompactRange() 2015-06-01 18:21:14 -07:00
dbformat.cc Optimistic Transactions 2015-05-29 14:36:35 -07:00
dbformat.h Optimistic Transactions 2015-05-29 14:36:35 -07:00
dbformat_test.cc
deletefile_test.cc
event_helpers.cc Rename EventLoggerHelpers EventHelpers 2015-05-28 13:37:47 -07:00
event_helpers.h Rename EventLoggerHelpers EventHelpers 2015-05-28 13:37:47 -07:00
experimental.cc
fault_injection_test.cc
file_indexer.cc
file_indexer.h
file_indexer_test.cc
filename.cc
filename.h
filename_test.cc
flush_job.cc Rename EventLoggerHelpers EventHelpers 2015-05-28 13:37:47 -07:00
flush_job.h Allow GetThreadList to report Flush properties. 2015-05-15 23:22:22 -07:00
flush_job_test.cc Optimistic Transactions 2015-05-29 14:36:35 -07:00
flush_scheduler.cc
flush_scheduler.h
forward_iterator.cc
forward_iterator.h
internal_stats.cc Support saving history in memtable_list 2015-05-28 16:34:24 -07:00
internal_stats.h Support saving history in memtable_list 2015-05-28 16:34:24 -07:00
job_context.h
listener_test.cc Fixed a bug in EventListener::OnCompactionCompleted(). 2015-05-12 16:10:23 -07:00
log_format.h
log_reader.cc
log_reader.h
log_test.cc
log_writer.cc Fix comparison between signed and usigned integers 2015-05-19 10:59:30 -07:00
log_writer.h
managed_iterator.cc
managed_iterator.h
memtable.cc Optimistic Transactions 2015-05-29 14:36:35 -07:00
memtable.h Optimistic Transactions 2015-05-29 14:36:35 -07:00
memtable_allocator.cc
memtable_allocator.h
memtable_list.cc Optimistic Transactions 2015-05-29 14:36:35 -07:00
memtable_list.h Optimistic Transactions 2015-05-29 14:36:35 -07:00
memtable_list_test.cc Optimistic Transactions 2015-05-29 14:36:35 -07:00
memtablerep_bench.cc
merge_context.h API to fetch from both a WriteBatchWithIndex and the db 2015-05-11 14:51:51 -07:00
merge_helper.cc
merge_helper.h
merge_operator.cc
merge_test.cc
perf_context_test.cc
plain_table_db_test.cc
prefix_test.cc
repair.cc Optimistic Transactions 2015-05-29 14:36:35 -07:00
skiplist.h
skiplist_test.cc
slice.cc
snapshot.h Cleanup CompactionJob 2015-05-05 19:01:12 -07:00
table_cache.cc
table_cache.h
table_properties_collector.cc
table_properties_collector.h
table_properties_collector_test.cc
transaction_log_impl.cc
transaction_log_impl.h
version_builder.cc
version_builder.h
version_builder_test.cc
version_edit.cc
version_edit.h
version_edit_test.cc
version_set.cc Allow users to migrate to options.level_compaction_dynamic_level_bytes=true using CompactRange() 2015-06-01 18:21:14 -07:00
version_set.h
version_set_test.cc
wal_manager.cc
wal_manager.h
wal_manager_test.cc
write_batch.cc WriteBatch.Merge w/ SliceParts support 2015-05-29 04:30:03 -07:00
write_batch_base.cc WriteBatch.Merge w/ SliceParts support 2015-05-29 04:30:03 -07:00
write_batch_internal.h WriteBatch.Merge w/ SliceParts support 2015-05-29 04:30:03 -07:00
write_batch_test.cc Optimistic Transactions 2015-05-29 14:36:35 -07:00
write_callback.h Optimistic Transactions 2015-05-29 14:36:35 -07:00
write_callback_test.cc Optimistic Transactions 2015-05-29 14:36:35 -07:00
write_controller.cc
write_controller.h
write_controller_test.cc
write_thread.cc Optimistic Transactions 2015-05-29 14:36:35 -07:00
write_thread.h Optimistic Transactions 2015-05-29 14:36:35 -07:00
writebuffer.h