prometheus/tsdb/index
Oleg Zaytsev e196b977af
Process MemPostings.Delete() with GOMAXPROCS workers
We are still seeing lock contention on MemPostings.mtx, and MemPostings.Delete() is by far the most expensive operation on that mutex.

This adds parallelism to that method, trying to reduce the amount of time we spend with the mutex held.

Signed-off-by: Oleg Zaytsev <mail@olegzaytsev.com>
2024-09-25 10:38:47 +02:00
..
index.go lint: Revamp our linting rules, mostly around doc comments 2024-08-22 17:36:11 +02:00
index_test.go add unit test 2024-06-16 12:09:42 -07:00
postings.go Process MemPostings.Delete() with GOMAXPROCS workers 2024-09-25 10:38:47 +02:00
postings_test.go Process MemPostings.Delete() with GOMAXPROCS workers 2024-09-25 10:38:47 +02:00
postingsstats.go Move from golang.org/x/exp/slices into slices now that we only support Go >= 1.21 2024-02-28 14:54:53 +01:00
postingsstats_test.go Upgrade golangci-lint to v1.60.1 2024-08-18 12:13:25 +02:00