Files
Ibrahim JarifandManish R Jain d2b9eb18bf fix(compaction): Use separate compactors for L0, L1 (#1466)
Related to https://github.com/dgraph-io/badger/pull/1459

This PR contains the following changes to compactions
- Use a separate thread for compacting Level 0 and 1 and a separate one for other levels
- Pick levels to compact based on score.
- Stall Level 0 if compactions cannot keep up (we had added this in #1186)
- Limit the number of open table builders to 5 in compactions.
2020-10-15 13:09:41 -07:00
..