-
Notifications
You must be signed in to change notification settings - Fork 521
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prune in-memory blocks from missing tenants (#314)
* Prune in-memory blocks Signed-off-by: Daniel González Lopes <danielgonzalezlopes@gmail.com> * Add changelog Signed-off-by: Daniel González Lopes <danielgonzalezlopes@gmail.com> * Feedback from review Signed-off-by: Daniel González Lopes <danielgonzalezlopes@gmail.com> * Add tests Signed-off-by: Daniel González Lopes <danielgonzalezlopes@gmail.com> * Improve tests Signed-off-by: Daniel González Lopes <danielgonzalezlopes@gmail.com> * Remove missing tenant blocks Signed-off-by: Daniel González Lopes <danielgonzalezlopes@gmail.com> * Remove old code Signed-off-by: Daniel González Lopes <danielgonzalezlopes@gmail.com> * Make CI happy Signed-off-by: Daniel González Lopes <danielgonzalezlopes@gmail.com> * Move code to a method Signed-off-by: Daniel González Lopes <danielgonzalezlopes@gmail.com> * From map[string]bool to map[string]struct Signed-off-by: Daniel González Lopes <danielgonzalezlopes@gmail.com> * Add test for cleanMissingTenants Signed-off-by: Daniel González Lopes <danielgonzalezlopes@gmail.com> * Add enconding Signed-off-by: Daniel González Lopes <danielgonzalezlopes@gmail.com>
- Loading branch information
Showing
3 changed files
with
136 additions
and
0 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
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