Go to file
Goutham Veeramachaneni 7bbbd55aad
Fix bug where having one chunk can cause panic
When we have only one chunk that is out of range, then we are returning
it unpopulated (w/o calling `Chunk(ref)`). This would cause a panic
downstream.

Fixes: prometheus/prometheus#2629

Signed-off-by: Goutham Veeramachaneni <cs14btech11014@iith.ac.in>
2017-05-03 22:45:28 +05:30
chunks Minor comment fixes and additions. 2017-04-28 15:41:42 +02:00
cmd/tsdb Add liecence file and headers 2017-04-10 20:59:45 +02:00
labels Simplify Labels.Equals() 2017-04-28 16:01:37 +02:00
test Add liecence file and headers 2017-04-10 20:59:45 +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 Hack to workaround dependency on non-master code. 2017-04-20 14:47:08 +01: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 Merge pull request #65 from prometheus/comment-fixes 2017-04-28 16:07:16 +02:00
chunks.go Merge pull request #65 from prometheus/comment-fixes 2017-04-28 16:07:16 +02:00
chunks_test.go Merge pull request #36 from Gouthamve/tests 2017-04-24 10:50:59 +02:00
compact.go Add liecence file and headers 2017-04-10 20:59:45 +02:00
db.go Fix and test ref handling in DB appender 2017-04-28 15:24:28 +02:00
db_test.go Fix and test ref handling in DB appender 2017-04-28 15:24:28 +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
head.go Remove dead code. 2017-04-20 13:45:07 +01:00
head_test.go When checking for amended points, do it in terms of bits. 2017-04-12 16:25:32 +01:00
index.go Minor comment fixes and additions. 2017-04-28 15:41:42 +02:00
index_test.go Merge pull request #36 from Gouthamve/tests 2017-04-24 10:50:59 +02:00
postings.go Merge pull request #36 from Gouthamve/tests 2017-04-24 10:50:59 +02:00
postings_test.go Merge pull request #36 from Gouthamve/tests 2017-04-24 10:50:59 +02:00
querier.go Fix bug where having one chunk can cause panic 2017-05-03 22:45:28 +05:30
querier_test.go Fix bug where having one chunk can cause panic 2017-05-03 22:45:28 +05:30
wal.go Minor comment fixes and additions. 2017-04-28 15:41:42 +02:00
wal_test.go Add liecence file and headers 2017-04-10 20:59:45 +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.