Dhruba Borthakur 9e84834eb4 Allow a configurable number of background threads.
Summary:
The background threads are necessary for compaction.
For slower storage, it might be necessary to have more than
one compaction thread per DB. This patch allows creating
a configurable number of worker threads.
The default reamins at 1 (to maintain backward compatibility).

Test Plan:
run all unit tests. changes to db-bench coming in
a separate patch.

Reviewers: heyongqiang

Reviewed By: heyongqiang

CC: MarkCallaghan

Differential Revision: https://reviews.facebook.net/D5559
2012-09-19 15:51:08 -07:00
..
c.h
2012-04-17 08:36:46 -07:00
2011-10-31 17:22:06 +00:00
2012-04-17 08:36:46 -07:00
2011-10-31 17:22:06 +00:00
2012-04-17 08:36:46 -07:00
2012-04-17 08:36:46 -07:00
2011-10-31 17:22:06 +00:00