Commit Graph

486 Commits (8297f5cb6bb4ac4ffede352a2a2b01422f995657)

Author SHA1 Message Date
lwangrabbit 9fde6edbf5
tsdb/wal: Move comment of w.writer.Append(...) to the WriteTo interface (#10198)
3 years ago
Eng Zer Jun 3e67654d37
refactor: use `T.TempDir()` and `B.TempDir` to create temporary directory
3 years ago
Robert Fratto b71a6dbbd1
tsdb/agent: Fix deadlock from simultaneous GC and write (#10166)
3 years ago
Mauro Stettler bf959b36cb
Nits after PR 10051 merge (#10159)
3 years ago
Ganesh Vernekar 129ed4ec8b
Fix Example() function in TSDB (#10153)
3 years ago
Mauro Stettler 0df3489275
Write chunks via queue, predicting the refs (#10051)
3 years ago
Oleg Zaytsev a83d46ee9c
Tidy postingsWithIndexHeap (#10123)
3 years ago
Bryan Boreham 82860a770c
tsdb: use simpler map key to improve exemplar ingest performance (#10111)
3 years ago
Oleg Zaytsev 701545286d
Pop intersected postings heap without popping (#10092)
3 years ago
Peter Štibraný e51a17b501
CompactBlockMetas should produce correct mint/maxt for overlapping blocks. (#10108)
3 years ago
Oleg Zaytsev 3947238ce0
Label values with matchers by intersecting postings (#9907)
3 years ago
Ganesh Vernekar 6c7577177c
Merge pull request #10056 from charlesxsh/fix-TestWALRestoreCorrupted
3 years ago
Shihao Xia 3696d7dedb fix potential goroutine leaks
3 years ago
Julien Pivotto 27343277fa
Merge release-2.32 forward into main (#10032)
3 years ago
beorn7 0ede6ae321 storage: fix bug #10027 in iterators' Seek method
3 years ago
Ganesh Vernekar 227d155e3f
Fix queries after a failed snapshot replay (#9980)
3 years ago
Ganesh Vernekar 05d4d97bcd
Fix queries after a failed snapshot replay (#9980)
3 years ago
Nick Pillitteri 084bd70708
Convert atomic Int64 to native type when logging value (#9938)
3 years ago
Robert Fratto 4cbddb41eb
tsdb/agent: Synchronize appender code with grafana/agent main (#9664)
3 years ago
Björn Rabenstein b866db009b
storage: Fix and improve the Seek method of various iterators (#9878)
3 years ago
Bryan Boreham 1b74a3812e
Fix panic, out of order chunks, and race warning during WAL replay (#9856)
3 years ago
Oleg Zaytsev 5e746e4e88
Check postings bytes length when decoding (#9766)
3 years ago
Darshan Chaudhary 9dcf8b2208
Add the ability to disable tsdb isolation (#9270)
3 years ago
Dieter Plaetinck 067efc3725
clarify HeadChunkID type and usage (#9726)
3 years ago
Sunil Thaha a484a83d4a
fix: panic when checkpoint directory is empty (#9687)
3 years ago
Dieter Plaetinck 0fac9bb859
Add basic initial developer docs for TSDB (#9451)
3 years ago
Mauro Stettler 8a4f659126 fix error message
3 years ago
Robert Fratto 72a9f7fee9
Share TSDB locker code with agent (#9623)
3 years ago
Peter Štibraný 422e7839d4
Add more size checks when writing individual sections in the index. (#9710)
3 years ago
Mateusz Gozdek 83086aee00 tsdb/agent: use unique registry per tests
3 years ago
Mateusz Gozdek 2f312ff4c5 tsdb: mark TestTombstoneCleanRetentionLimitsRace test as slow
3 years ago
Levi Harrison 7400e07fa9
Close DB in Agent tests (#9630)
3 years ago
Mateusz Gozdek f4650c27e7 tsdb/wal: fix flaky TestReaderFuzz* tests
3 years ago
Björn Rabenstein 4c56a193c5
Merge pull request #9478 from prometheus/beorn7/pkg-deprecation
3 years ago
曹明 a0d31c28fc tsdb: Add windows arm64 support.
3 years ago
Mateusz Gozdek b319b14431
tsdb/chunks: preallocate at least some space on non-Windows systems (#9581)
3 years ago
beorn7 c954cd9d1d Move packages out of deprecated pkg directory
3 years ago
beorn7 a1e595edac Fix two trivial lint warnings
3 years ago
Dieter Plaetinck cda025b5b5
TSDB: demistify SeriesRefs and ChunkRefs (#9536)
3 years ago
johncming b882d2b7c7
tsdb/wal: Avoid writing closed channel. (#9566)
3 years ago
chenlujjj d18e42c650
refine comments of Checkpoint function (#9655)
3 years ago
Marco Pracucci 309b094b92
Optimized MemPostings.EnsureOrder() (#9673)
3 years ago
Marco Pracucci 9f5ff5b269
Allow to disable trimming when querying TSDB (#9647)
3 years ago
Marco Pracucci edd05d7010
Add Head.AppendableMinValidTime() (#9643)
3 years ago
Mateusz Gozdek b7bdf6fab2 Fix imports formatting
3 years ago
Mateusz Gozdek 1a6c2283a3 Format Go source files using 'gofumpt -w -s -extra'
3 years ago
Julien Pivotto 6e1d6edb33
Exclude agent from windows tests (#9645)
3 years ago
chenlujjj 660329d5b3
add tombstoneFormatVersionSize & tombstonesCRCSize constants (#9625)
3 years ago
Praveen Ghuge 64d9b41998
Use testing.T.TempDir() instead of ioutil.TempDir() in tsdb/wal unit tests (#9602)
3 years ago
Robert Fratto bc72a718c4
Initial draft of prometheus-agent (#8785)
3 years ago
Xiaochao Dong c2d1c85857
close tsdb.head in test case (#9580)
3 years ago
Furkan Türkal 0c07663b70
fix: possible race on shared variables in test (#9470)
3 years ago
Dieter Plaetinck d5bfbe3114
improve bstream comments and doc (#9560)
3 years ago
Julien Pivotto 73255e15f6 Address golint failures from revive
3 years ago
Serge Catudal 8c3eca84db
Fix remote write receiver endpoint for exemplars (#9414)
3 years ago
Dieter Plaetinck d5afe0a577
TSDB: Use a dedicated head chunk reference type (#9501)
3 years ago
Ganesh Vernekar 10d4cb6dc0
Merge remote-tracking branch 'upstream/main' into release-2.30-merge
3 years ago
Ganesh Vernekar 10bc6e80ee
Fix panic on failed snapshot replay and don't hard fail replay on disabled exemplars (#9438)
3 years ago
Ganesh Vernekar b30db03f35
Cut v2.30.2 (#9426)
3 years ago
Ganesh Vernekar a7d499e19a
Reduce log level during WAL replay on overlapping m-map chunks (#9425)
3 years ago
Ganesh Vernekar 8c597e5166
Don't error on overlapping m-mapped chunks during WAL replay (#9381)
3 years ago
Bryan Boreham 1fb3c1b598
Replace calls to strings.Compare (#9397)
3 years ago
Ganesh Vernekar 2bcd9f2f69
Link 2 more TSDB blog posts in tsdb/README.md (#9371)
3 years ago
Darshan Chaudhary 1f688657bf
Call delete on head if interval overlaps (#9151)
3 years ago
Ganesh Vernekar 30534e99d9
Take snapshot only after closing the WAL (#9328)
3 years ago
Ganesh Vernekar 8944520ccc
Fix deletion of old snapshots (#9314)
3 years ago
Bryan Boreham 2327236bb5
Decrement active_appenders metric when no samples added (#9230)
3 years ago
Bryan Boreham 87d909df4a
Remove symbols map from TSDB head (#9301)
3 years ago
Callum Styan 93886d8417
Fix div by 0 panic is resize function. (#9286)
3 years ago
Ganesh Vernekar 35b1a82594
Exemplars in snapshot (#9255)
3 years ago
Levi Harrison 06afe6162c
Also ignore `func1`
3 years ago
Julien Pivotto d5676fb9e0
Merge pull request #9254 from prometheus/superq/go1.17
3 years ago
SuperQ e167a45c65
Add new Go build tags.
3 years ago
Callum Styan cc55e57c1b
Fix a data race in the loadWAL function caused by reusing the same error var in multiple goroutines (#9259)
3 years ago
Ganesh Vernekar 8a5d8c15e3
Do not replay checkpoint if it is covered by snapshot (#9226)
3 years ago
Bryan Boreham 9dfdc3eb36
Speed up BenchmarkPostings_Stats (#9213)
3 years ago
Ganesh Vernekar 328a74ca36
Fix bugs and add enhancements to the chunk snapshot (#9185)
3 years ago
Jupiter 84ab705318
32 should better be replaced by "symbolFactor" (#9203)
3 years ago
Marco Pracucci 84e786ebc1
Fixed Decoder.Series() error checking (#9201)
3 years ago
Julien Pivotto cab96a06ef
Merge release 2.29 in main (#9196)
3 years ago
Bryan Boreham 040ef175eb
Optimise WAL loading by removing extra map and caching min-time (#9160)
3 years ago
Bryan Boreham 7407457243
Avoid deadlock when processing duplicate series record (#9170)
3 years ago
Ganesh Vernekar ee7e0071d1
Snapshot in-memory chunks on shutdown for faster restarts (#7229)
3 years ago
Ganesh Vernekar 848cb5a6d6
Enhanced WAL replay for duplicate series record (#7438)
3 years ago
Ganesh Vernekar 8002a3ab80
Breakdown tsdb/head.go into multiple files (#9147)
3 years ago
jinglina 1a430e5f89
remove redundant parentheses (#9134)
3 years ago
Darshan Chaudhary c4f2e9eec5
Add present_over_time (#9097)
3 years ago
Oleg Zaytsev f9482c5bf6
Clarify computeChunkEndTime's purpose (#9049)
3 years ago
Bryan Boreham 60804c5a09
remote_write: reduce blocking from garbage-collect of series (#9109)
3 years ago
Bryan Boreham dea37853d9
tsdb: use dennwc/varint to speed up WAL decoding (#9106)
3 years ago
Bryan Boreham 6788760efa
Reduce memory allocation in benchmarkIterator() (#5983)
3 years ago
Oleg Zaytsev b1ed4a0a66
LabelNames API with matchers (#9083)
3 years ago
Jupiter 7337ecf0d3
Log when total symbol size exceeds 2^32 bytes. (#9104)
3 years ago
Ganesh Vernekar 59d02b5ef0
tsdb: Block Head GC till pending readers are done reading (#9081)
3 years ago
Martin Disibio 1bcd13d6b5
Exemplar resize (#8974)
3 years ago
ide-rea 14b24d15b0
update checkpoint replay status (#8898)
3 years ago
Bryan Boreham dc8f505595
tsdb: coalesce lock/unlock operations for append (#9061)
3 years ago
Oleg Zaytsev 40126a8494
Use binary literals for xor chunk encoding
3 years ago
Julien Pivotto fa6b2897f0
Merge pull request #8956 from LeviHarrison/fix-tsdb-test-flake
3 years ago
Levi Harrison 437c470c40 Added ignore
3 years ago