sdong ecb1ffa2a8 Buffer info logs when picking compactions and write them out after releasing the mutex
Summary: Now while the background thread is picking compactions, it writes out multiple info_logs, especially for universal compaction, which introduces a chance of waiting log writing in mutex, which is bad. To remove this risk, write all those info logs to a buffer and flush it after releasing the mutex.

Test Plan:
make all check
check the log lines while running some tests that trigger compactions.

Reviewers: haobo, igor, dhruba

Reviewed By: dhruba

CC: i.am.jin.lei, dhruba, yhchiang, leveldb, nkg-

Differential Revision: https://reviews.facebook.net/D16515
2014-03-05 15:36:32 -08:00
..
2014-01-30 22:10:10 -08:00
2014-01-30 22:10:10 -08:00
2014-03-03 21:11:49 -08:00
2014-01-06 11:11:19 -08:00
2014-01-02 16:43:35 -08:00
2014-02-12 11:42:54 -08:00
2013-10-23 14:38:52 -07:00
2013-11-16 11:21:34 +00:00
2014-01-14 22:03:57 -08:00
2014-02-25 17:47:37 -08:00
2014-03-03 21:11:49 -08:00
2014-01-17 12:46:06 -08:00
2014-01-17 12:46:06 -08:00
2014-02-08 14:15:51 -08:00
2014-02-12 11:42:54 -08:00
2013-12-03 12:42:15 -08:00
2014-01-17 12:46:06 -08:00
2014-02-25 17:47:37 -08:00