-
Notifications
You must be signed in to change notification settings - Fork 456
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
91c7663
commit fcaeb47
Showing
1 changed file
with
10 additions
and
6 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