-
Notifications
You must be signed in to change notification settings - Fork 24.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SLM: max/after and max/failed fix (#68352)
Combining both maximum and expire after retention configuration did not compose well in that, as long as there are any snapshots to delete due to the maximum criteria, the expire after criteria was not evaluated, fixed to consider both. When evaluating the maximum criteria, a number of snapshots to delete was calculated based on successful snapshots. However, when evaluating which snapshot is eligible for deletion, the entire list was used, resulting in deleting too few snapshots.
- Loading branch information
1 parent
1916fe4
commit baf15b5
Showing
2 changed files
with
39 additions
and
5 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
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