Go to file
Fabian Reinartz a52980e0a8 Add workaround for deadlocks
This adds a workaround to avoid deadlocks for inconsistent write lock
order across headBlocks.
Things keep working if transactions only append data for the same
timestamp, which is generally the case for Prometheus.

Full behavior should be restored in a subsequent change.
2017-03-27 19:05:34 +02:00
chunks Lint and Vet Fixes 2017-03-19 21:35:01 +05:30
cmd/tsdb Lint and Vet Fixes 2017-03-19 21:35:01 +05:30
labels Lint and Vet Fixes 2017-03-19 21:35:01 +05:30
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
tsdbutil Move BufferedSeriesIterator in own package 2017-03-24 13:23:32 +01:00
block.go Trigger reload correctly on interrupted compaction 2017-03-20 10:41:43 +01:00
chunks.go Add composed Block interfaces, remove head generation 2017-03-20 09:02:36 +01:00
chunks_test.go Split persistence by chunk/index instead of read/write 2017-03-07 12:48:52 +01:00
compact.go Fix wrong comparison in head block resorting 2017-03-21 12:12:33 +01:00
db.go Add workaround for deadlocks 2017-03-27 19:05:34 +02: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 Add workaround for deadlocks 2017-03-27 19:05:34 +02:00
head_test.go Drop position mapper from head block 2017-03-15 14:44:29 +01:00
index.go Hotfix erroneous "label index missing" error 2017-03-20 11:37:06 +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 Move BufferedSeriesIterator in own package 2017-03-24 13:23:32 +01:00
querier_test.go Move BufferedSeriesIterator in own package 2017-03-24 13:23:32 +01:00
wal.go Merge branch 'master' of github.com:fabxc/tsdb 2017-03-21 10:11:39 +01:00
wal_test.go Handle WAL corruption by truncating 2017-03-15 11:16:16 +01:00