]> git-server-git.apps.pok.os.sepia.ceph.com Git - rocksdb.git/commit
Bug of trivial move of dynamic level
authorsdong <siying.d@fb.com>
Wed, 15 Apr 2015 02:58:52 +0000 (19:58 -0700)
committersdong <siying.d@fb.com>
Fri, 17 Apr 2015 17:33:27 +0000 (10:33 -0700)
commit88931716988431f261e7bef7f466062ec8ede3b7
tree3eb018002fdaa9a71f04f6bff082af359f8fbe9a
parent82e5c842b6bc5990a52d0233319257c42addfe48
Bug of trivial move of dynamic level

Summary: D36669 introduces a bug that trivial moved data is not going to specific level but the next level, which will incorrectly be level 1 for level 0 compaciton if base level is not level 1. Fixing it by appreciating the output level

Test Plan: Run all tests

Reviewers: MarkCallaghan, rven, yhchiang, igor

Reviewed By: igor

Subscribers: leveldb, dhruba

Differential Revision: https://reviews.facebook.net/D37119

Conflicts:
db/db_test.cc
db/db_impl.cc