Commit Graph

278 Commits (d9ab154fbefa2df859cb09ce2e71821487b07480)

Author SHA1 Message Date
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 9bba8a6eae Merge branch 'master' into appender-context
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
Julien Pivotto 9b8cc663f7
Merge pull request #7623 from prometheus/release-2.20
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
Björn Rabenstein e0067a7bd8
Merge pull request #7573 from codesome/mmap-empty-files
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
Bartlomiej Plotka 823b218e1b
Fixed race between compact (gc, populate) and head append causing unknown symbol error. (#7560)
4 years ago
Bartlomiej Plotka 492061b24c
Revert "Fix unknown symbol error during head compaction (#7526)" (#7556)
4 years ago
Ganesh Vernekar 30505a202a
Fix unknown symbol error during head compaction (#7526)
4 years ago
Marco Pracucci 2f6bf7de4c
Optimise labels regex matchers containing a literal within the pattern (#7503)
4 years ago
Harkishen Singh f32307b656
Increments WAL corruption metric on WAL corruption during checkpointing (#7491)
4 years ago
Ganesh Vernekar e65e2e0dac
Fix panic from db metrics (#7501)
4 years ago
Bartlomiej Plotka 1861bf38f5
tombstones: Fixed Add method in order to support trimming time series; Simplified the algo. (#7471)
4 years ago
Marco Pracucci cef4dd6fff
Optimized label regex matcher with literal prefix and/or suffix (#7453)
4 years ago
Ganesh Vernekar 082c17b691
Introduce SortedLabelValues/LabelValues to speedup queries for high cardinality (#7448)
4 years ago
Bartlomiej Plotka b788986717
storage: Adjusted fully storage layer support for chunk iterators: Remote read client, readyStorage, fanout. (#7059)
4 years ago
Joe Lei 74a73ba1cf
fix analyze limit not work expected (#7430)
4 years ago
Ganesh Vernekar b7c46a8c79
Merge remote-tracking branch 'upstream/master' into merge-release-2.19
5 years ago
Ganesh Vernekar 48fae12b89
Fix unsequential m-map files (#7414)
5 years ago
Marco Pracucci 3b529ddbce
Cleanup bstream_test.go based on post-merge feedback received on #7390 (#7413)
5 years ago
Simon Pasquier d634785944
tsdb/docs: fix head chunks directory + link from README (#7309)
5 years ago
Simon Pasquier 2f12049371
tsdb: improve logs when encountering corruption (#7308)
5 years ago
Marco Pracucci f42ed03dc5
Optimized bstream reader used by XORChunk iterator (#7390)
5 years ago
Julien Pivotto f893786153
Fix TSDB test failure (#7394)
5 years ago
Krasimir Georgiev ab6203b7c7
add head compaction test (#7338)
5 years ago
Ganesh Vernekar 9593b64ce6
Merge branch 'master' into to-merge-release-2.19
5 years ago
Kemal Akkoyun 66dfb951c4
*: Consistent Error/Warning handling for SeriesSet iterator: Allowing Async Select (#7251)
5 years ago
Ganesh Vernekar 1627d234da
Moves the atomically accessed member to the top of the struct (#7365)
5 years ago
Peter Štibraný ff80690a6e
Optimise lowWatermark in Isolation (#7332)
5 years ago
Jess G fdc49fae5b
Added time range parameters to labelNames API (#7288)
5 years ago
Ganesh Vernekar a1355eb7c7
Remove time based m-map file creation (#7314)
5 years ago
Ganesh Vernekar 83619aa9ac
Preallocate m-map file only for Windows (#7306)
5 years ago
Guangwen Feng 2393d6137b
Add unit test case for func Type in record.go (#7082)
5 years ago
Krasimir Georgiev f4dd45609a
Use min and maxt of the range head when creating a block (#7282)
5 years ago
Krasimir Georgiev 09df8d94e0
More explicit chunks and head error handling. (#7277)
5 years ago
Ganesh Vernekar 1c99adb9fd
Callbacks for lifecycle of series in TSDB (#7159)
5 years ago
Ganesh Vernekar d4b9fe801f
M-map full chunks of Head from disk (#6679)
5 years ago
Bartlomiej Plotka 532f7bbac9
Merge pull request #7204 from prometheus/release-2.18
5 years ago
Ben Ye 1e4e37144d
Fixed wrongly handled not ready TSDB on web and API. (#7182)
5 years ago
ga 05038b48bd
Goroutine: Fix ambiguous variable (#7175)
5 years ago
Goutham Veeramachaneni 84b4d079c8
Make sure deleted intervals are excluded from Seek (#6980)
5 years ago
Julien Pivotto fc3fb3265a
Merge pull request #7145 from prometheus/release-2.17
5 years ago
Julien Pivotto ed1852ab95
TSDB: Isolation: avoid creating appenderId's without appender (#7135)
5 years ago
ZouYu 2b7437d60e
Fix some warnings: 'redundant type from array, slice, or map composite literal' (#7109)
5 years ago
Marek Slabicki 8224ddec23
Capitalizing first letter of all log lines (#7043)
5 years ago
Brian Brazil cd73b3d33e
Reduce how much old WAL we keep around. (#7098)
5 years ago
Brad Walker 3348930df5
Replace fileutil.ReadDir with ioutil.ReadDir (#7029) (#7033)
5 years ago
MengZeLee a7982ffc0f
Fix typo (#7068)
5 years ago
Brian Brazil 7646cbca32
Use .UTC everywhere we use time.Unix (#7066)
5 years ago
Julien Pivotto 9057decce2
Merge pull request #7060 from prometheus/release-2.17
5 years ago
Julien Pivotto ceef10cee4 Reset comment
5 years ago
Julien Pivotto 73228b1b68 Those links should not be reverted
5 years ago
Julien Pivotto 653f343547 Revert head posting optimization
5 years ago
Bartlomiej Plotka d5c33877f9
storage: Added Chunks{Queryable/Querier/SeriesSet/Series/Iteratable. Added generic Merge{SeriesSet/Querier} implementation. (#7005)
5 years ago
Ben Kochie fac7a4a050
Merge pull request #7037 from prometheus/bjk/golint
5 years ago
Ben Kochie 269e7c8091
Fix golint issues.
5 years ago
Ganesh Vernekar 6fdc852813
Fix TestHeadDeleteSimple to test reloaded Head too (#7021)
5 years ago
Ganesh Vernekar e64a149984
Close Head in DBReadOnly.FlushWAL (#7022)
5 years ago
zhulongcheng e813f60fd6
tsdb: fix sequence check for WAL segments (#7032)
5 years ago
zhulongcheng dbb8f5861d
tsdb: add tombstonesHeaderSize constant (#7028)
5 years ago
Julien Pivotto f1984bb007
Merge pull request #7025 from prometheus/release-2.17
5 years ago
beorn7 526cff39b9 Fix tests that were broken by #7009
5 years ago
Bartlomiej Plotka c4eefd1b3a storage: Removed SelectSorted method; Simplified interface; Added requirement for remote read to sort response.
5 years ago
Callum Styan f802f1e8ca
Fix bug with WAL watcher and Live Reader metrics usage. (#6998)
5 years ago
Bartlomiej Plotka 8fa4ada9ae
Merge pull request #7010 from prometheus/beorn7/fix-test
5 years ago
Ganesh Vernekar e50fdbc70c
Live m-mapping of chunks on disk (#6830)
5 years ago
beorn7 c0ecbb38af Fix tests that were broken by #7009
5 years ago