-
Notifications
You must be signed in to change notification settings - Fork 452
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
db: fix estimatedCompactionDebt metric
We should set bytesAddedToNextLevel to 0, if there will be no bytes added to the next level. This pr also takes the opportunity to make the loop which computes compaction debt easier to reason about.
- Loading branch information
1 parent
a9a079d
commit a393598
Showing
1 changed file
with
11 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters