This is the mega-patch multi-threaded compaction
published in https://reviews.facebook.net/D5997. Summary: This patch allows compaction to occur in multiple background threads concurrently. If a manual compaction is issued, the system falls back to a single-compaction-thread model. This is done to ensure correctess and simplicity of code. When the manual compaction is finished, the system resumes its concurrent-compaction mode automatically. The updates to the manifest are done via group-commit approach. Test Plan: run db_bench
Showing
此差异已折叠。
db/memtablelist.cc
0 → 100644
db/memtablelist.h
0 → 100644
此差异已折叠。
想要评论请 注册 或 登录