242 Commits (4617d16b4b356d926cf82ff7a5134875c3f5f6bd)

Author SHA1 Message Date
Brian Brazil 073e93c768
Gracefully handle unknown WAL record types. (#8004) 4 years ago
Ganesh Vernekar 50ae4e298b
Fix magic number in docs (#7998) 4 years ago
Ganesh Vernekar f0d87b5d86
Encode and Decode method for tombstones (#7967) 4 years ago
Max Neverov 7e1c27b853
Add tsdb startup duration metric (#7737) 4 years ago
Jorge Vallecillo 7aa5fb01bf
tsdb/chunks/head_chunks_test.go: Fix typo (#7953) 4 years ago
Tobias Klauser b5b3bc34da
tsdb/fileutil: Use FcntlFstore from golang.org/x/sys/unix (#7949) 4 years ago
Xiaochao Dong a282d25099
tsdb: remove duplicate values set to reduce memory usage(map overhead) (#7915) 4 years ago
zhulongcheng 5ea6bdca1f
tsdb: sync temporary checkpoint directory before rename (#7004) 4 years ago
johncming 75ae384192
tsdb: remove redundant fields. (#7869) 4 years ago
Ganesh Vernekar 2255b6f62f
Refactor WAL.Segments method to be part of the wal package (#6477) 4 years ago
johncming 252265fa81
tsdb/chunks: remove un-used code. (#6944) 4 years ago
Ganesh Vernekar c806262206
Fix 'chunks.HeadReadWriter: maxt of the files are not set' error (#7856) 4 years ago
Yukun Sun cfd4e05c9e
fix: return a corruption error when iterator function find a chunk that is out of sequence (#7855) 4 years ago
Max Neverov bb5c6b38e2
Fix Possible Race Condition in TSDB (#7815) 4 years ago
johncming 3e7b463908
add testcase for rangeForTimestamp. (#6454) 4 years ago
Guangwen Feng 9439b2150d
Fix golint warning caused by misspell (#7842) 4 years ago
johncming b521612042
tsdb: simplify code. (#7792) 4 years ago
gastonqiu 5a7d398d19
Chore: Log segment number when segment read failed (#7687) 4 years ago
johncming d19fc71903
tsdb: use NewRangeHead instead. (#7793) 4 years ago
Harold Dost 21a753c4e2
Make file permissions set to allow for wider umask options. (#7782) 4 years ago
Bartlomiej Plotka f16cbc20d6
tsdb: Bug fix for further continued deletions after crash deletions; added more tests. (#7777) 4 years ago
Bartlomiej Plotka 4ae2ef94e0
tsdb: Delete blocks atomically; Remove tmp blocks on start; Added test. (#7772) 4 years ago
Zhou Hao 40ace418d1
fix misspell (#7764) 4 years ago
Frederic Branczyk e0cf219f0d
tsdb: Save allocations on labels by re-using label array 4 years ago
Robert-André Mauchin ed6ce7ac98
Convert int to string using rune() (#7707) 4 years ago
Bartlomiej Plotka 28c5cfaf0d
tsdb: Moved code merge series and iterators to differen files; cleanup. No functional changes just move! (#7714) 4 years ago
johncming ac677ed8b3
promql: delete redundant return value. (#7721) 4 years ago
Julien Pivotto 30e079bbd5
TSDB: Fix master tests (#7705) 4 years ago
Bartlomiej Plotka e6d7cc5fa4
tsdb: Added ChunkQueryable implementations to db; unified MergeSeriesSets and vertical to single struct. (#7069) 4 years ago
Annanay 48b9afd14b Address comments 4 years ago
Annanay 0b4d448d29 Fix tests 4 years ago
Annanay 263d2aa5f5 Fix failing tests 4 years ago
Annanay 89129cd39a Address comments 4 years ago
Javier Palomo Almena b58a613443
Replace sync/atomic with uber-go/atomic (#7683) 4 years ago
Javier Palomo Almena 348ff4285f
tsdb: Replace sync/atomic with uber-go/atomic in tsdb (#7659) 4 years ago
Annanay f40e4579b7 gofmt 4 years ago
Annanay 7f98a744e5 Add context to Appender interface 4 years ago
Ben Ye 50c261502e
add tsdb cmds into promtool (#6088) 4 years ago
johncming 9801f52b0a
tsdb/chunks: fix bug of data race(#7643). (#7646) 4 years ago
Ganesh Vernekar 4a8531a64b
BlocksToDelete function in DB options (#7638) 4 years ago
Julien Pivotto ffc925dd21
TSDB: Error when we commit/rollback twice (#7593) 4 years ago
Julien Pivotto cfe30a7b62
TSDB: Use t.Cleanup to delete temporary files (#7620) 4 years ago
Julien Pivotto 62805b2fe9
tsdb: test for leaks (#7566) 4 years ago
Krasimir Georgiev ccab2b30c9
Test no panic after a WAL corruption (#7625) 4 years ago
Krasi Georgiev d30492cbb0 Avoid panic when the headChunk is nil during isolation. 4 years ago
Zhou Hao ddedf454d0
add os.RemoveAll err verification (#7540) 4 years ago
Ganesh Vernekar 1760c7474c
Replay m-map chunks irrespective of WAL (#7589) 4 years ago
Ganesh Vernekar b8a7e80f9b
Fix review comments 4 years ago
Ganesh Vernekar ea013343ca
Log when starting to create a checkpoint (#7581) 4 years ago
Ganesh Vernekar 7a763ff61e
Avoid empty mmap files by using .tmp files to write headers 4 years ago