Commit Graph

36 Commits (3ad25a6dc3d94d09f94de00fe3ef9e374007b131)

Author SHA1 Message Date
Marco Pracucci db19e05d93
Add option to customise head chunks write buffer size (#8201) 5 years ago
Ganesh Vernekar 601a3ef0bb
Read repair empty last file in chunks_head (#8061) 6 years ago
Julien Pivotto df6eed2358 Calculate head chunk size based on actual disk usage (#8139) 6 years ago
Julien Pivotto 8bc369bf9b
Calculate head chunk size based on actual disk usage (#8139) 6 years ago
Julien Pivotto 6c56a1faaa
Testify: move to require (#8122) 6 years ago
Bartlomiej Plotka 3d8826a3d4
MultiError: Refactored MultiError for more concise and safe usage. (#8066) 6 years ago
Julien Pivotto 1282d1b39c
Refactor test assertions (#8110) 6 years ago
Julien Pivotto 4e5b1722b3
Move away from testutil, refactor imports (#8087) 6 years ago
Ganesh Vernekar ce4b3ac282
Simplify TestHeadReadWriter_Truncate (#7437) 6 years ago
Ganesh Vernekar 2624d827fa
Read repair empty last file in chunks_head (#8061) 6 years ago
garanews c38816828f
fix few typo (#8023) 6 years ago
Jorge Vallecillo 7aa5fb01bf
tsdb/chunks/head_chunks_test.go: Fix typo (#7953) 6 years ago
johncming 252265fa81
tsdb/chunks: remove un-used code. (#6944) 6 years ago
Ganesh Vernekar c806262206
Fix 'chunks.HeadReadWriter: maxt of the files are not set' error (#7856) 6 years ago
Yukun Sun cfd4e05c9e
fix: return a corruption error when iterator function find a chunk that is out of sequence (#7855) 6 years ago
Max Neverov bb5c6b38e2
Fix Possible Race Condition in TSDB (#7815) 6 years ago
Bartlomiej Plotka e6d7cc5fa4
tsdb: Added ChunkQueryable implementations to db; unified MergeSeriesSets and vertical to single struct. (#7069) 6 years ago
Javier Palomo Almena 348ff4285f
tsdb: Replace sync/atomic with uber-go/atomic in tsdb (#7659) 6 years ago
johncming 9801f52b0a
tsdb/chunks: fix bug of data race(#7643). (#7646) 6 years ago
Ganesh Vernekar b8a7e80f9b
Fix review comments 6 years ago
Ganesh Vernekar 7a763ff61e
Avoid empty mmap files by using .tmp files to write headers 6 years ago
Ganesh Vernekar 48fae12b89
Fix unsequential m-map files (#7414) 6 years ago
Simon Pasquier 2f12049371
tsdb: improve logs when encountering corruption (#7308) 6 years ago
Ganesh Vernekar 1627d234da
Moves the atomically accessed member to the top of the struct (#7365) 6 years ago
Ganesh Vernekar a1355eb7c7
Remove time based m-map file creation (#7314) 6 years ago
Ganesh Vernekar 83619aa9ac
Preallocate m-map file only for Windows (#7306) 6 years ago
Krasimir Georgiev 09df8d94e0
More explicit chunks and head error handling. (#7277) 6 years ago
Ganesh Vernekar d4b9fe801f
M-map full chunks of Head from disk (#6679) 6 years ago
Brad Walker 3348930df5
Replace fileutil.ReadDir with ioutil.ReadDir (#7029) (#7033) 6 years ago
Bartlomiej Plotka d5c33877f9
storage: Added Chunks{Queryable/Querier/SeriesSet/Series/Iteratable. Added generic Merge{SeriesSet/Querier} implementation. (#7005) 6 years ago
Ganesh Vernekar e50fdbc70c
Live m-mapping of chunks on disk (#6830) 6 years ago
Ganesh Vernekar 0a27df92f0
Refactor tsdb/chunks/chunks.go for future PRs (#6754) 6 years ago
Bartlomiej Plotka c2e083c30f Fixed race in Chunks method. (#6515) 6 years ago
Bartlomiej Plotka 3b8ef6386c
Fixed race in Chunks method. (#6515) 6 years ago
Krasimir Georgiev 549164f252
return err instead of panic for corrupted chunk (#6040) 6 years ago
Bartek Plotka f0863a604e Removed extra tsdb/testutil after merge. 7 years ago
Ganesh Vernekar 5ecef3542d
Cleanup after merging tsdb into prometheus 7 years ago
Ganesh Vernekar 7cf09b0395
Moving tsdb into its own subdirectory 7 years ago