]> git-server-git.apps.pok.os.sepia.ceph.com Git - rocksdb.git/commit
Fix hang with large write batches and column families.
authorVenkatesh Radhakrishnan <rven@fb.com>
Fri, 1 May 2015 22:41:50 +0000 (15:41 -0700)
committerIgor Canadi <icanadi@fb.com>
Fri, 1 May 2015 23:12:48 +0000 (16:12 -0700)
commitc7c2e1968f24cf463cace44573a28053c7027610
tree4c6e5c7bec4c42bc57c648e20006f405da5d1c33
parenta11863cb76ccbe3edc5aedfad473688a1185f934
Fix hang with large write batches and column families.

Summary:
This diff fixes a hang reported by a Github user.
https://www.facebook.com/l.php?u=https%3A%2F%2Fgithub.com%2Ffacebook%2Frocksdb%2Fissues%2F595%23issuecomment-96983273&h=9AQFYOWlo
Multiple large write batches with column families cause a hang.
The issue was caused by not doing flushes/compaction when the
write controller was stopped.

Test Plan: Create a DBTest from the user's test case

Reviewers: igor

Reviewed By: igor

Subscribers: dhruba, leveldb

Differential Revision: https://reviews.facebook.net/D37929
db/db_impl.cc
db/db_test.cc