]> git-server-git.apps.pok.os.sepia.ceph.com Git - rocksdb.git/commit
Don't let other compactions run when manual compaction runs
authorIgor Canadi <icanadi@fb.com>
Thu, 28 Aug 2014 17:06:28 +0000 (13:06 -0400)
committerIgor Canadi <icanadi@fb.com>
Thu, 28 Aug 2014 17:06:28 +0000 (13:06 -0400)
commitd977e55596e71491e1d3bc803c37f479570f50e9
tree89c29dbf5b3bd4e1f0bf90da275433169f587fe2
parentd5bd6c772beac298b578cdf061fac00334e1f126
Don't let other compactions run when manual compaction runs

Summary:
Based on discussions from t4982833. This is just a short-term fix, I plan to revamp manual compaction process as part of t4982812.

Also, I think we should schedule automatic compactions at the very end of manual compactions, not when we're done with one level. I made that change as part of this diff. Let me know if you disagree.

Test Plan: make check for now

Reviewers: sdong, tnovak, yhchiang, ljin

Reviewed By: yhchiang

Subscribers: leveldb

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