Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pkg/block/fetcher: fix concurrent map usage
Fixes: thanos-io#2471 This commit fixes an issue where multiple goroutines in the block fetcher filtering were concurrently accessing the same map. The goroutines were concurrently writing AND reading to the shared metas map. This commit guards this concurrent access by giving the DeduplicateFilter struct a mutex. Signed-off-by: Lucas Servén Marín <[email protected]>
- Loading branch information