The Prometheus monitoring system and time series database.
Find a file
Fabian Reinartz 4962175218 Fix deadlock between heads and headmtx
With hundreds of concurrent appenders the locking order between the
headBlocks on instantiating appenders and write locking the headmtx
is hard to impossible to get consistent.
Just never instantiate appenders while holding the headmtx lock in any
way.
2017-03-17 14:10:18 +01:00
chunks Run persistence in separate goroutine 2017-01-02 22:24:35 +01:00
cmd/tsdb Remove Partitioned* code 2017-03-06 17:34:49 +01:00
labels Fix label sorting benchmark 2017-03-17 10:07:10 +01:00
test Add merge postings 2016-12-28 11:02:19 +01:00
testdata Add full encode/decode WAL cycle test 2017-02-14 21:55:50 -08:00
block.go Write meta.json file atomically 2017-03-01 17:19:57 +01:00
chunks.go Use ChunkMeta references for clarity 2017-03-14 15:40:16 +01:00
chunks_test.go Split persistence by chunk/index instead of read/write 2017-03-07 12:48:52 +01:00
compact.go Use ChunkMeta references for clarity 2017-03-14 15:40:16 +01:00
db.go Fix deadlock between heads and headmtx 2017-03-17 14:10:18 +01:00
db_test.go Misc cleanups 2017-03-06 14:34:49 +01:00
db_unix.go Add proper mmap calls 2016-12-11 15:49:36 +01:00
head.go Remove unreturned locks, detect writes on closed heads 2017-03-17 12:12:50 +01:00
head_test.go Drop position mapper from head block 2017-03-15 14:44:29 +01:00
index.go Use ChunkMeta references for clarity 2017-03-14 15:40:16 +01:00
index_test.go Use ChunkMeta references for clarity 2017-03-14 15:40:16 +01:00
postings.go Fix bug of unsorted postings lists being created 2017-01-13 16:22:20 +01:00
postings_test.go Add merge postings 2016-12-28 11:02:19 +01:00
querier.go Remove unreturned locks, detect writes on closed heads 2017-03-17 12:12:50 +01:00
querier_test.go Rename paritionSeriesSet to mergedSeriesSet 2017-03-14 15:24:08 +01:00
wal.go Handle WAL corruption by truncating 2017-03-15 11:16:16 +01:00
wal_test.go Handle WAL corruption by truncating 2017-03-15 11:16:16 +01:00