Commit Graph

132 Commits (a272e7ec60b0340beae152bb942093518617efbf)

Author SHA1 Message Date
Ganesh Vernekar 0dcaf10564
Check error before wrapping
5 years ago
Krasi Georgiev 8d86e921cf
refactor block size calculation (#637)
6 years ago
zhulongcheng 19d402d154 cleanup tmp files (#570)
6 years ago
Krasi Georgiev e46ec89de6
use fsync to force persisting the meta file. (#573)
6 years ago
Krasi Georgiev c3ffdf1a99
Test createBlock and check all os.RemoveAll in the tests for errors. (#549)
6 years ago
Ganesh Vernekar c59ed492b2 Vertical query merging and compaction (#370)
6 years ago
Krasi Georgiev bf2239079d refactor multi errors
6 years ago
Krasi Georgiev d48606827c simplify closers
6 years ago
Krasi Georgiev 315de4c782 fix windows tests
6 years ago
Krasi Georgiev 53c18e7a41 use a global indexFilename constant
6 years ago
Ganesh Vernekar 1a9d08adc5 Don't write empty blocks (#374)
6 years ago
mknapphrt ebf5d74325 Added storage size based retention method and new metrics (#343)
6 years ago
Brian Brazil c93e261466 Reduce memory taken up by posting/symbol tables.
6 years ago
Krasi Georgiev 5a9ddeecef
fix lint errors (#439)
6 years ago
Ganesh Vernekar 3a08a71d86 LabelNames() method to get all unique label names (#369)
6 years ago
Ganesh Vernekar 6e712963e2 Fix updating of NumTombstones in block.Delete(..) (#385)
6 years ago
Krasi Georgiev d05611c027
removed some unused code and moved mockSeriesSet in querier_test (#394)
6 years ago
Julius Volz 5ae6c60d39 Handle a bunch of unchecked errors (#365)
6 years ago
Ganesh Vernekar 77d2c7cf3d
Added metric for symbol table size
6 years ago
codwu 667e539a7a Merge branch 'master' of https://github.com/prometheus/tsdb into tsdb-delete
6 years ago
Benoît Knecht 1e1b2e163d Make interval overlap comparisons more explicit
6 years ago
Fabian Reinartz d907928e57 Clarify docs, error on unexpected meta read errors
7 years ago
Fabian Reinartz af9003dcef Add resilience to crashes during deletion
7 years ago
codwu cd145c90d5 remove `put` function and use RLock in `Iter` function
7 years ago
codwu 84a45cb79a add rwmutex to prevent concurrent map read when delete series
7 years ago
Ganesh Vernekar 528439aa93 Cleanup new blocks on 'CleanTombstones' faliure.
7 years ago
Goutham Veeramachaneni f82a1fe4f2
Simplify stones counting.
7 years ago
Goutham Veeramachaneni 8a301b126a
Merge pull request #307 from mjtrangoni/fixes
7 years ago
Mario Trangoni c2182820ed fix megacheck issue: should omit values from range
7 years ago
Simon Pasquier 79defa54df Fix crash when a series has no block
7 years ago
Fabian Reinartz d09283f60a Add repair of bad index version
7 years ago
Goutham Veeramachaneni 2c3400ab4e Add block ULID to index reader errors
7 years ago
Shubheksha Jalan 7b27dc2109 address review comments, fix index tests
7 years ago
Shubheksha Jalan 44052bc937 Make version for index format configurable
7 years ago
Shubheksha Jalan 129773b41a merge BlockMeta and blockMeta struct, implement v1 and v2 index readers
7 years ago
Fabian Reinartz 1e55b7987f Improve comments, handle allPostingsKey properly
7 years ago
Fabian Reinartz 67f0ca8f0e Move index and chunk encoders to own packages
7 years ago
Goutham Veeramachaneni 3158b03e6c Select series with label unset for != and !~
7 years ago
Goutham Veeramachaneni 8a5ea9db74
Merge branch 'master' into tomb-clean
7 years ago
Goutham Veeramachaneni 24ff293dc9
Merge pull request #207 from Gouthamve/compact-fail
7 years ago
Goutham Veeramachaneni e7445d00b0
Add a function to cleanup tombstones.
7 years ago
Goutham Veeramachaneni 1fc94a02d1
Don't retry failed compactions.
7 years ago
Fabian Reinartz f1512a368a Expose ChunkSeriesSet and lookups methods.
7 years ago
Fabian Reinartz 3ef4326114 Refactor tombstone reader types
7 years ago
Fabian Reinartz e5ce2bef43 Add explicit error to Querier.Select
7 years ago
Fabian Reinartz d578b10d5c chunk: make reader accept abstract ByteSlice
7 years ago
Fabian Reinartz b7c3cfecbf index: abstract ByteSlice and adjust indexReader
7 years ago
Sunny Klair 4fdf9b195c Validate index TOC checksum on read
7 years ago
Fabian Reinartz fb9da52b11 Add more verbose error handling for closing, reduce locking
7 years ago
Fabian Reinartz 78df406dac Allocate and cache strings for persisted blocks
7 years ago