sdong 011241bb99 DB::Flush() Do not wait for background threads when there is nothing in mem table
Summary:
When we have multiple column families, users can issue Flush() on every column families to make sure everything is flushes, even if some of them might be empty. By skipping the waiting for empty cases, it can be greatly speed up.

Still wait for people's comments before writing unit tests for it.

Test Plan: Will write a unit test to make sure it is correct.

Reviewers: ljin, yhchiang, igor

Reviewed By: igor

Subscribers: leveldb, dhruba

Differential Revision: https://reviews.facebook.net/D22953
2014-09-08 13:40:42 -07:00
..
2014-09-04 16:18:36 -07:00
2014-09-04 16:18:36 -07:00
2014-09-05 14:14:37 +08:00
2014-09-05 14:14:37 +08:00
2014-08-11 13:22:47 -04:00
2014-09-08 08:01:25 -07:00
2014-08-28 12:46:05 -04:00
2014-07-20 22:57:20 +08:00
2014-08-28 17:06:29 -07:00
2014-09-04 23:06:23 +08:00
2014-09-05 14:14:37 +08:00
2014-09-05 14:14:37 +08:00
2014-02-28 13:19:47 -08:00
2014-01-27 14:49:10 -08:00
2014-03-14 22:44:35 +00:00
2014-03-14 13:02:20 -07:00
2014-09-05 14:14:37 +08:00
2014-01-30 22:10:10 -08:00
2014-09-04 23:06:23 +08:00
2014-09-04 16:18:36 -07:00
2014-09-04 16:18:36 -07:00
2014-04-15 13:39:26 -07:00
2014-09-02 13:29:05 -07:00