Skip to content

Commit 888fb29

Browse files
ultrotterGuido Trotter
andauthored
Silences: Optimize incremental mutes queries via a silence version index (#4723)
* Add silence version index an QSince query Signed-off-by: Guido Trotter <[email protected]> * Add scanned total, skipped total, and indices/state sizes metrics Signed-off-by: Guido Trotter <[email protected]> * Use QSince to optimize Mutes: we can now only scan old silences, and new silences that have been added since the last version we saw Signed-off-by: Guido Trotter <[email protected]> * query: pre-guess the allocation result size Signed-off-by: Guido Trotter <[email protected]> * Rename versionIndex.find to versionIndex.findVersionGreaterThan Signed-off-by: Guido Trotter <[email protected]> --------- Signed-off-by: Guido Trotter <[email protected]> Co-authored-by: Guido Trotter <[email protected]>
1 parent dd490dd commit 888fb29

File tree

2 files changed

+334
-46
lines changed

2 files changed

+334
-46
lines changed

0 commit comments

Comments
 (0)