Commit Graph

486 Commits (14780c3b4ece270d67cfb9e7da09714866220936)

Author SHA1 Message Date
Nguyen Le Vu Long cd1dafc2fd
tsdb: Expose total number of label pairs in head in TSDB stats page (#8343)
4 years ago
Guangwen Feng e2cd6c5f57 Fix golint issue caused by typo
4 years ago
Björn Rabenstein 7889bdf16e
Merge pull request #8313 from pracucci/lower-compactor-overlapping-blocks-log
4 years ago
arthursens 8493704b9b Change seconds()*1000 to milliseconds()
4 years ago
Marco Pracucci 2b4b138244
Lowered 'Found overlapping blocks during compaction' log level
4 years ago
Ganesh Vernekar faa1554aa1
Don't call runtime.GC() after compaction (#8276)
4 years ago
Arthur Silva Sens 64a106c5dd
Logging added for when compaction takes more than the block time range (#8151)
4 years ago
johncming a6e18916ab
tsdb: Remove duplicate variables. (#8239)
4 years ago
jessicagreben ac06d0a657 merge master/resolve conflict
4 years ago
Atibhi Agrawal b317b6ab9c
Backfill from OpenMetrics format (#8084)
4 years ago
Ganesh Vernekar dff967286e
Set the min time of Head properly after truncation (#8212)
4 years ago
jessicagreben 19dee0a569 add name and labels to metric, eval all rules for each block
4 years ago
Chris Marchbanks c8f810083d
Cache label name and last value when adding series (#8192)
4 years ago
Marco Pracucci db19e05d93
Add option to customise head chunks write buffer size (#8201)
4 years ago
Bartlomiej Plotka 4513537034
Exposed DeletionIterator and CompactMetas functions. (#8161)
4 years ago
Julien Pivotto 8bc369bf9b
Calculate head chunk size based on actual disk usage (#8139)
4 years ago
jessicagreben 75654715d3 fix panics
4 years ago
jessicagreben 3ed6457dd4 use blockwriter, rm multiwriter code
4 years ago
Marco Pracucci 63be30dcee
Fixed WAL corruption on partial writes within a page (#8125)
4 years ago
Julien Pivotto 6c56a1faaa
Testify: move to require (#8122)
4 years ago
Bartlomiej Plotka 3d8826a3d4
MultiError: Refactored MultiError for more concise and safe usage. (#8066)
4 years ago
johncming 28ca0965f0
tsdb/chunkenc: fix typo of return error. (#7670)
4 years ago
Ganesh Vernekar 3245b3267b
Don't use returned DB to close resources on TSDB startup error (#8113)
4 years ago
Julien Pivotto 1282d1b39c
Refactor test assertions (#8110)
4 years ago
Julien Pivotto 4e5b1722b3
Move away from testutil, refactor imports (#8087)
4 years ago
Arthur Silva Sens c5a832b394
Close resources after failing to startup TSDB (#8031)
4 years ago
Brian Brazil fdf1c29224
Fix metric description of prometheus_tsdb_symbol_table_size_bytes. (#8080)
4 years ago
Ganesh Vernekar ce4b3ac282
Simplify TestHeadReadWriter_Truncate (#7437)
4 years ago
Ganesh Vernekar 2624d827fa
Read repair empty last file in chunks_head (#8061)
4 years ago
Bartlomiej Plotka 2fe1e9fa93
Create a checkpoint only at the end of Compact call (#8067)
4 years ago
Ganesh Vernekar d9cd913219
Add links to TSDB blog post series in tsdb/README.md (#8078)
4 years ago
Julien Pivotto 59733b1a26
TSDB: use `blocks` instead of db.blocks in condition (#8068)
4 years ago
Ganesh Vernekar 5de7d15879
Consistent naming and better names for fields in TSDB format docs (#8077)
4 years ago
jessicagreben 36ac0b68f1 merge master, fix conflicts
4 years ago
Bartlomiej Plotka 9981b3f3ee
labels: Reduce allocated memory and latency of Hash method; Added tests. (#8025)
4 years ago
Ganesh Vernekar 4ed3ec7b46
More info in mmap error message (#8058)
4 years ago
frbimo 260cd84d8f
log on empty head compaction result (#8037)
4 years ago
Gayathri Venkatesh 73e2ce1bd6
Do not ignore reload errors in compactHead (#8051)
4 years ago
Goutham Veeramachaneni 1cc02930b6
Implement series API query hint to not hit chunks (#8050)
4 years ago
Ling Jin 9145200842
tsdb: fix unkown ref in log (#8048)
4 years ago
Arthur Silva Sens 4f45e201cc
Promtool tsdb list now prints block sizes (#7993)
4 years ago
Jess G 90680b092c
Add a tsdb writer interface (#7950)
4 years ago
garanews c38816828f
fix few typo (#8023)
4 years ago
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 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
jessicagreben 7504b5ce7c add rule importer with tsdb block writer
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)
5 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
Björn Rabenstein 1da83305be
Merge pull request #7009 from prometheus/release-2.17
5 years ago
zhulongcheng 5f5c7a4477
tsdb: sort checkpoints by segment number (#6987)
5 years ago
Julien Pivotto 8907ba6235 Make TSDB use storage errors
5 years ago
Julien Pivotto 0f9e78bd88
tsdb: fix races around head chunks (#6985)
5 years ago
Björn Rabenstein d80b0810c1
Move crucial actions to defer (#6918)
5 years ago
Bartlomiej Plotka 9d9c45588e Addressed Goutham's review.
5 years ago
Bartlomiej Plotka cd9516316a Addressed Brian's comments.
5 years ago
Bartlomiej Plotka fe802f29c9 storage: Removed SelectSorted method; Simplified interface; Added requirement for remote read to sort response.
5 years ago
Björn Rabenstein 6029fa0b1b
Merge pull request #6951 from prometheus/beorn7/tsdb
5 years ago
beorn7 f6f4fd6556 tsdb: Do a full rollback upon commit error
5 years ago
李国忠 261cbab8e9
remove Unused parameter 'reg' in wal.Open function (#6941)
5 years ago
johncming df14bca643
tsdb: fix typo for wrong metric name (#6938)
5 years ago
beorn7 0193b746b1 Defer call to iso.closeAppend
5 years ago
Ganesh Vernekar 2cc32c332d Log WAL replay duration
5 years ago
Julien Pivotto ed623f69e2
tsdb: don't allow ingesting empty labelsets (#6891)
5 years ago
beorn7 d9af11e636 Do not attempt isolation for appendID == 0
5 years ago
beorn7 7f30b0984d Implement isolation
5 years ago
beorn7 6b8181370f Fix punctuation nits
5 years ago
Peter Štibraný 1d396b96dc
Specify that returned samples must be ordered by timestamp. (#6877)
5 years ago
Marco Pracucci c391b6ca43
Use a cryptographically random generator for ULID
5 years ago
Julien Pivotto 52630ad0c7 Make head Postings only return series in time range
5 years ago
Brian Brazil cebe36c7d5 Make head Postings only return series in time range
5 years ago
Bartlomiej Plotka 48ead578a0 Moved tsdbconfig to main.
5 years ago
Bartlomiej Plotka a20bebf7eb Moved readyStorage to main.
5 years ago
Bartlomiej Plotka 8a775bc468 Moved unit agnostic options to separate pkg.
5 years ago
Bartlomiej Plotka 59c9d6ef45 Addressed Brian's comments, moved metrics to main.go
5 years ago
Bartlomiej Plotka 5d84e5d895 Make chunkenc.Iterator.At behaviour unspecified without Next done.
5 years ago
Bartlomiej Plotka ad51c649b5 Fixed float conversion difference.
5 years ago
Bartlomiej Plotka cfba92a133 Addressed comments.
5 years ago
Bartlomiej Plotka c0a9ab0829 Close db properly in tests.
5 years ago
Bartlomiej Plotka fb79f515fc Fixed second bug.
5 years ago
Bartlomiej Plotka aadffd1360 Finally found a fix for the bug I was chasing for 2h...
5 years ago
Bartlomiej Plotka 849faa407b Minor fixes.
5 years ago
Bartlomiej Plotka 2cf637fbf5 Addressed comments.
5 years ago
Bartlomiej Plotka 34426766d8 Unify Iterator interfaces. All point to storage now.
5 years ago
Bartlomiej Plotka 88af973663
Merge pull request #6820 from codesome/break-compact
5 years ago
Zhou Hao e628fd7735
fix comments spelling (#6829)
5 years ago
johncming c30abf1e2b tsdb/wal: remove unused argument.
5 years ago
Ganesh Vernekar 6f1d2ec73e
Break DB.Compact and DB.compactHead and DB.compactBlocks. Add DB.CompactHead.
5 years ago
Ganesh Vernekar bc6fd96979
Refactor TestGCChunkAccess and TestGCSeriesAccess to create chunks by appending samples
5 years ago
Bartlomiej Plotka 641676b397
Merge pull request #6687 from pracucci/reduce-tsdb-head-inuse-memory
5 years ago
Ganesh Vernekar 0a27df92f0
Refactor tsdb/chunks/chunks.go for future PRs (#6754)
5 years ago
Ganesh Vernekar 56bf0ee4dc
Add OpenMmapFileWithSize method (#6753)
5 years ago
Marco Pracucci 699f3e8f4d
Added comments to the Chunk interface
5 years ago
Marco Pracucci 0703dae7cc
Compact TSDB head chunks after being cut, to reduce inuse memory
5 years ago
Ben Ye 492414542e
fix matcher for regex (#6540)
5 years ago
LongKB 1ebcf3d5e4
Fix some typo in comments (#6730)
5 years ago
Callum Styan 83601202d9
Add missing param to NewHead call in test. (#6725)
5 years ago
Thor 17d8c49919
made stripe size configurable (#6644)
5 years ago
Brian Brazil 61262159c4 Simplify benchmark given the new API
5 years ago
Brian Brazil 38d32e0686 Don't sort postings if we only have one block.
5 years ago
Brian Brazil d682731efc Extend BenchmarkQuerierSelect to use multiple blocks.
5 years ago
Ganesh Vernekar 21a5cf5d1d
Bring back tombstones to Head block (#6542)
5 years ago
Julien Pivotto 46d18112a3 tsdb: error on series with duplicate labels (#6664)
5 years ago
Ganesh Vernekar e0733a99e3
Expose DB.Compact()
5 years ago
John McBride 669592a2c4 Exports metric for WAL write errors (#6647)
5 years ago
Ganesh Vernekar bc42cf6806
Merge pull request #6559 from yeya24/tomb-test
5 years ago
Julien Pivotto 201491fd1b Remove old checkpoint dir if it still exists (#6621)
5 years ago
Julien Pivotto 0cff72d756 tsdb: writePostingsToTmpFiles returns nil instead of err (#6618)
5 years ago
Julien Pivotto 398bd84d6f small tsdb fixes (#6616)
5 years ago
Bartlomiej Plotka 1e64d757f7
Merge pull request #6585 from prometheus/fix-symbols-lookup
5 years ago
Guangwen Feng 5e906cc09a Fix typo in comment for func AddPadding
5 years ago
Bartlomiej Plotka 59ea320d96 tsdb: Fixed Symbol Lookup edge case; Added tests.
5 years ago
Bartlomiej Plotka 863613300d Exposed FileWriter. (#6589)
5 years ago
Nguyen Hai Truong b7376f3bff Remove duplicated words (#6569)
5 years ago
yeya24 06fd7cf3ba add tomb interval testcase
5 years ago
Brian Brazil 4708915ac6 Replace StringTuples with []string
5 years ago
Brian Brazil e9ede51753 Remove last vestiges of never used composite index code.
5 years ago
Brian Brazil 000e306f2f
Handle V1 indexes, some of which have unsorted posting offset tables. (#6564)
5 years ago
Brian Brazil 536d416299
Fix tsdb code and tests to work on Windows. (#6547)
5 years ago
Josh Soref 91d76c8023 Spelling (#6517)
5 years ago
Bartlomiej Plotka 3b8ef6386c
Fixed race in Chunks method. (#6515)
5 years ago
Brian Brazil 2b653ee230 Write label indices based on the posting offset table.
5 years ago
Brian Brazil 7d1aad46b8 Put postings in a temporary file during index writing.
5 years ago
Brian Brazil dee6981a6c Move writing of index label indices into IndexWriter.
5 years ago
Brian Brazil 1733724e30 Factor out index file writing code.
5 years ago
Brian Brazil 85964ce567 During compaction spool postings offset table on the side.
5 years ago
Brian Brazil d782387f81
Stream symbols during compaction. (#6468)
5 years ago
Brian Brazil 767fa704b6 Load only some offsets into the symbol table into memory.
5 years ago
Brian Brazil 1d1732bc25 Add benchmark for Querier.Select over blocks and head.
5 years ago
Brian Brazil 0482d93fe6 Add contexts to index writer to fix test races.
5 years ago
Brian Brazil cf76daed2f Avoid WriteAt for Postings.
5 years ago
Brian Brazil 971dafdfbe Coalesce series reads where we can.
5 years ago
Brian Brazil 373a1fdfbf Reread index series rather than storing in memory.
5 years ago
Brian Brazil 48d25e6fe7 Reduce memory used by postings offset table.
5 years ago
Brian Brazil aff9f7a9e8 Extend PostingsForMatchers benchmark to cover Blocks too.
5 years ago
Brian Brazil 4df814f509
Don't buffer up tables in memory on compaction. (#6422)
5 years ago
johncming 0ae048ff78 tsdb: add error details in log. (#6415)
5 years ago
Ben Ye c0250cf120 Fix some typos(#6423)
5 years ago
Krasimir Georgiev 549164f252
return err instead of panic for corrupted chunk (#6040)
5 years ago
Callum Styan 5830e03691
Merge pull request #6337 from cstyan/rw-log-replay
5 years ago
Callum Styan 6a24eee340 Simplify duration check for watcher WAL replay.
5 years ago