Go to file
Fabian Reinartz f8e88bfdb7 Close previous block queriers on error
This ensures we close all previously opened queriers if on of the block
querier fails to open.
Also swap in new blocks before closing old ones to avoid the situation
in general. Make read locking of blocks more conservative to avoid
unnecessary retries by clients, e.g. when blocks are getting closed
before we can successfully instantiate querier against them.
2017-10-23 21:56:12 +02:00
Documentation/format Allocate and cache strings for persisted blocks 2017-10-02 15:56:57 +02:00
chunks Return nop iterator for invalid chunk references 2017-10-20 09:43:52 +02:00
cmd/tsdb Remove GetTabWriter from tsdb package 2017-10-19 18:14:37 +02:00
fileutil Remove dependency on etcd/pkg/fileutil 2017-10-04 10:23:41 +02:00
labels Replace single head lock with granular locks 2017-09-05 14:41:39 +02:00
test Replace single head lock with granular locks 2017-09-05 14:41:39 +02:00
testdata Add full encode/decode WAL cycle test 2017-02-14 21:55:50 -08:00
tsdbutil Minor comment fixes and additions. 2017-04-28 15:41:42 +02:00
.travis.yml Remove prometheus/prometheus dev-2.0 branch workaround 2017-10-19 18:24:12 +02:00
LICENSE Add license file 2017-04-10 21:02:42 +02:00
README.md Add README 2017-04-10 13:29:46 +02:00
block.go Add more verbose error handling for closing, reduce locking 2017-10-10 12:13:37 +02:00
block_test.go Incorporate PR feedback. 2017-05-26 21:26:31 +05:30
chunks.go Add more verbose error handling for closing, reduce locking 2017-10-10 12:13:37 +02:00
chunks_test.go Expose Intervals type for use by TombstoneReader. 2017-08-25 16:06:36 +05:30
compact.go Add more verbose error handling for closing, reduce locking 2017-10-10 12:13:37 +02:00
compact_test.go Refactor and add tests for compactor 2017-09-01 11:50:58 +02:00
db.go Close previous block queriers on error 2017-10-23 21:56:12 +02:00
db_test.go Add more verbose error handling for closing, reduce locking 2017-10-10 12:13:37 +02:00
db_unix.go Add liecence file and headers 2017-04-10 20:59:45 +02:00
db_windows.go Add liecence file and headers 2017-04-10 20:59:45 +02:00
encoding_helpers.go Allocate and cache strings for persisted blocks 2017-10-02 15:56:57 +02:00
head.go head: limit WAL sample processing batch size 2017-10-23 16:22:24 +02:00
head_test.go Merge pull request #168 from prometheus/fasterwal 2017-10-10 18:11:44 +02:00
index.go Clarify postings index semantics, handle staleness 2017-10-11 09:37:19 +02:00
index_test.go Add more verbose error handling for closing, reduce locking 2017-10-10 12:13:37 +02:00
postings.go Load postings in batch on startup 2017-10-06 10:39:10 +02:00
postings_test.go Load postings in batch on startup 2017-10-06 10:39:10 +02:00
querier.go Close previous block queriers on error 2017-10-23 21:56:12 +02:00
querier_test.go Clarify postings index semantics, handle staleness 2017-10-11 09:37:19 +02:00
tombstones.go Add more verbose error handling for closing, reduce locking 2017-10-10 12:13:37 +02:00
tombstones_test.go Change series ID from uint32 to uint64 2017-09-04 16:08:38 +02:00
wal.go Merge pull request #168 from prometheus/fasterwal 2017-10-10 18:11:44 +02:00
wal_test.go wal: decode and process in separate threads. 2017-10-06 14:46:52 +02:00

README.md

TSDB

This repository contains the new Prometheus storage layer that will be used in its 2.0 release.

A writeup of its design can be found here.