The Prometheus monitoring system and time series database.
Find a file
Fabian Reinartz 8c31c6e934 Make concurrent head chunk reads safe, fix misc races
This adds a 4 sample buffer to every head chunk. The XOR
compression scheme may edit bytes in place. The minimum size
of a sample is 2 bits. So keeping the last 4 samples in an in-memory
buffer makes it safe to query the preceeding ones while samples
are added
2017-01-09 16:51:39 +01:00
chunks Run persistence in separate goroutine 2017-01-02 22:24:35 +01:00
cmd/tsdb Use separate lock for series creation 2017-01-06 18:10:50 +01:00
labels Add merge postings 2016-12-28 11:02:19 +01:00
test Add merge postings 2016-12-28 11:02:19 +01:00
block.go Fix head block stats races 2017-01-07 18:02:17 +01:00
compact.go Fix head block stats races 2017-01-07 18:02:17 +01:00
db.go Make concurrent head chunk reads safe, fix misc races 2017-01-09 16:51:39 +01:00
db_amd64.go Add initial seriailization of block data 2016-12-08 17:43:10 +01:00
db_test.go Fix test import of labels, simplify constructor names 2016-12-21 15:12:26 +01:00
db_unix.go Add proper mmap calls 2016-12-11 15:49:36 +01:00
head.go Make concurrent head chunk reads safe, fix misc races 2017-01-09 16:51:39 +01:00
head_test.go Add postings wrapper that emits head postings in label set order 2017-01-05 16:05:42 +01:00
postings.go Rename iterator value getters to At() 2017-01-02 13:33:06 +01:00
postings_test.go Add merge postings 2016-12-28 11:02:19 +01:00
querier.go Make concurrent head chunk reads safe, fix misc races 2017-01-09 16:51:39 +01:00
querier_test.go Rename shard to partition 2017-01-06 08:08:02 +01:00
reader.go Fix head block stats races 2017-01-07 18:02:17 +01:00
wal.go Put WAL lock down into encoder 2017-01-06 18:36:42 +01:00
wal_test.go Fix head block stats races 2017-01-07 18:02:17 +01:00
writer.go Fix head block stats races 2017-01-07 18:02:17 +01:00