prometheus/tsdb
Ganesh Vernekar 601a3ef0bb
Read repair empty last file in chunks_head (#8061)
* Read repair empty file in chunks_head

Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>

* Refactor and introduce repairLastChunkFile

Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>

* Attempt windows test fix

Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>

* Fix review comments

Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>

* Fix review comments

Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
2020-11-04 09:08:04 +01:00
..
chunkenc
chunks Read repair empty last file in chunks_head (#8061) 2020-11-04 09:08:04 +01:00
docs/format Fix magic number in docs (#7998) 2020-10-01 15:05:01 +05:30
encoding
errors
fileutil tsdb/fileutil: Use FcntlFstore from golang.org/x/sys/unix (#7949) 2020-09-19 10:57:13 +01:00
goversion
index tsdb: remove duplicate values set to reduce memory usage(map overhead) (#7915) 2020-09-10 20:35:47 +05:30
record Gracefully handle unknown WAL record types. (#8004) 2020-10-05 10:09:59 +01:00
test
testdata tsdb: Delete blocks atomically; Remove tmp blocks on start; Added test. (#7772) 2020-08-11 06:56:08 +01:00
tombstones Encode and Decode method for tombstones (#7967) 2020-09-30 10:25:09 +05:30
tsdbutil
wal Gracefully handle unknown WAL record types. (#8004) 2020-10-05 10:09:59 +01:00
.gitignore
CHANGELOG.md
README.md
block.go
block_test.go
compact.go tsdb: Delete blocks atomically; Remove tmp blocks on start; Added test. (#7772) 2020-08-11 06:56:08 +01:00
compact_test.go tsdb: Delete blocks atomically; Remove tmp blocks on start; Added test. (#7772) 2020-08-11 06:56:08 +01:00
db.go Calculate head chunk size based on actual disk usage (#8139) 2020-11-03 13:02:17 +01:00
db_test.go Calculate head chunk size based on actual disk usage (#8139) 2020-11-03 13:02:17 +01:00
head.go fix few typo (#8023) 2020-10-07 16:51:31 +01:00
head_bench_test.go
head_test.go Gracefully handle unknown WAL record types. (#8004) 2020-10-05 10:09:59 +01:00
isolation.go
isolation_test.go
mocks_test.go
querier.go
querier_bench_test.go
querier_test.go tsdb: remove duplicate values set to reduce memory usage(map overhead) (#7915) 2020-09-10 20:35:47 +05:30
repair.go tsdb: Delete blocks atomically; Remove tmp blocks on start; Added test. (#7772) 2020-08-11 06:56:08 +01:00
repair_test.go tsdb: Delete blocks atomically; Remove tmp blocks on start; Added test. (#7772) 2020-08-11 06:56:08 +01:00
tsdbblockutil.go
wal.go
wal_test.go

README.md

TSDB

GoDoc

This repository contains the Prometheus storage layer that is used in its 2.x releases.

A writeup of its design can be found here.

Based on the Gorilla TSDB white papers.

Video: Storing 16 Bytes at Scale from PromCon 2017.

See also the format documentation.