prometheus/tsdb/chunks
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
..
chunks.go tsdb/chunks: remove un-used code. (#6944) 2020-08-31 16:55:47 +02:00
chunks_test.go Removed extra tsdb/testutil after merge. 2019-08-14 10:12:32 +01:00
head_chunks.go Read repair empty last file in chunks_head (#8061) 2020-11-04 09:08:04 +01:00
head_chunks_other.go Preallocate m-map file only for Windows (#7306) 2020-05-28 20:24:19 +05:30
head_chunks_test.go Read repair empty last file in chunks_head (#8061) 2020-11-04 09:08:04 +01:00
head_chunks_windows.go Preallocate m-map file only for Windows (#7306) 2020-05-28 20:24:19 +05:30