The Prometheus monitoring system and time series database.
 
 
 
 
 
 
Go to file
Goutham Veeramachaneni a51b2666d7 Fix Panic When Accessing Uncut memorySeries
When calling AddFast, we check the details of the head chunk of the
referred memorySeries. But it could happen that there are no chunks in
the series at all.

Currently, we are deferring chunk creation to when we actually append
samples, but we can be sure that there will be samples if the series is
created. We will be consuming no extra memory by cutting a chunk when we
create the series.

Ref: #28 comment 2

Signed-off-by: Goutham Veeramachaneni <cs14btech11014@iith.ac.in>
2017-04-06 00:22:31 +05:30
chunks Lint and Vet Fixes 2017-03-19 21:35:01 +05:30
cmd/tsdb Adjust import names to new repository organisation 2017-04-04 11:27:26 +02:00
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 10:20:39 +01:00
block.go Trigger reload correctly on interrupted compaction 2017-03-20 10:41:43 +01:00
chunks.go Adjust import names to new repository organisation 2017-04-04 11:27:26 +02:00
chunks_test.go Adjust import names to new repository organisation 2017-04-04 11:27:26 +02:00
compact.go Adjust import names to new repository organisation 2017-04-04 11:27:26 +02:00
db.go Adjust import names to new repository organisation 2017-04-04 11:27:26 +02:00
db_test.go Misc cleanups 2017-03-06 14:34:49 +01:00
db_unix.go Add cross-platform mmap 2017-04-04 16:54:48 +02:00
db_windows.go Add cross-platform mmap 2017-04-04 16:54:48 +02:00
head.go Fix Panic When Accessing Uncut memorySeries 2017-04-06 00:22:31 +05:30
head_test.go Adjust import names to new repository organisation 2017-04-04 11:27:26 +02:00
index.go Adjust import names to new repository organisation 2017-04-04 11:27:26 +02:00
index_test.go Adjust import names to new repository organisation 2017-04-04 11:27:26 +02:00
postings.go Rename bytePostings To bigEndianPostings 2017-03-27 14:04:42 +05:30
postings_test.go Add Tests For bigEndianPostings 2017-03-27 15:46:55 +05:30
querier.go Adjust import names to new repository organisation 2017-04-04 11:27:26 +02:00
querier_test.go Adjust import names to new repository organisation 2017-04-04 11:27:26 +02:00
wal.go Adjust import names to new repository organisation 2017-04-04 11:27:26 +02:00
wal_test.go Adjust import names to new repository organisation 2017-04-04 11:27:26 +02:00