]> git-server-git.apps.pok.os.sepia.ceph.com Git - rocksdb.git/commit
OptionChangeMigration() to support FIFO compaction
authorsdong <siying.d@fb.com>
Mon, 24 Oct 2016 20:16:54 +0000 (13:16 -0700)
committersdong <siying.d@fb.com>
Tue, 25 Oct 2016 01:04:32 +0000 (18:04 -0700)
commitf41df3045c4800ebd93784b83dd6e418f93c8c57
tree9e39316519fbad7c8efc22daea9b68f26ef3e010
parent2e8004e6087610a660e9964e6575a18fba79f1fa
OptionChangeMigration() to support FIFO compaction

Summary: OptionChangeMigration() to support FIFO compaction. If the DB before migration is using FIFO compaction, nothing should be done. If the desitnation option is FIFO options, compact to one single L0 file if the source has more than one levels.

Test Plan: Run option_change_migration_test

Reviewers: andrewkr, IslamAbdelRahman

Reviewed By: IslamAbdelRahman

Subscribers: leveldb, andrewkr, dhruba

Differential Revision: https://reviews.facebook.net/D65289
utilities/option_change_migration/option_change_migration.cc
utilities/option_change_migration/option_change_migration_test.cc