Commit Graph

107 Commits (24a9f278d405201cb754c86721c2faa2a75327c5)

Author SHA1 Message Date
Bartek Plotka fada85a83c repair + compact: Improved logging for easier future debug purposes.
7 years ago
Bartek Plotka 328c0ff5b0 Simplified the flow and tests.
7 years ago
Bartek Plotka 483da43660 compact: Exclude last block with shortest range instead of newest one by ULID.
7 years ago
Fabian Reinartz 8cd32d8fd4 Improve usability of snapshots
7 years ago
Fabian Reinartz d09283f60a Add repair of bad index version
7 years ago
Goutham Veeramachaneni 6c62437101 Fix metric unit (#275)
7 years ago
Simon Pasquier 5d47710f8a Fix panic on nil index writer
7 years ago
Shubheksha Jalan 44052bc937 Make version for index format configurable
7 years ago
Fabian Reinartz 1e55b7987f Improve comments, handle allPostingsKey properly
7 years ago
Fabian Reinartz 7087f68647 Return new block ULID in compactor
7 years ago
Fabian Reinartz 67f0ca8f0e Move index and chunk encoders to own packages
7 years ago
Goutham Veeramachaneni f35e9c7fec
Merge branch 'master' into fix-dels
7 years ago
Goutham Veeramachaneni 24ff293dc9
Merge pull request #207 from Gouthamve/compact-fail
7 years ago
Fabian Reinartz cf7f6108fd Order postings lists in index file by key
7 years ago
Goutham Veeramachaneni 1fc94a02d1
Don't retry failed compactions.
7 years ago
Goutham Veeramachaneni 1627a47640
A copy is being assigned newChunk not the original
7 years ago
Fabian Reinartz a031cf7424 Return ULID in Compactor
7 years ago
Fabian Reinartz f1512a368a Expose ChunkSeriesSet and lookups methods.
7 years ago
Fabian Reinartz 3ef4326114 Refactor tombstone reader types
7 years ago
ranbochen a27cf34a36 fix bugs on platform windows to pass all test case. (#192)
7 years ago
Fabian Reinartz d17104f1f0 Prefix all metrics with `prometheus_*`
7 years ago
Fabian Reinartz fb9da52b11 Add more verbose error handling for closing, reduce locking
7 years ago
Goutham Veeramachaneni da565f975e Merge pull request #161 from prometheus/fileutil
7 years ago
Fabian Reinartz f04ec031eb compact: sync temporary directory
7 years ago
Fabian Reinartz bbe72dccb9 Remove dependency on etcd/pkg/fileutil
7 years ago
Goutham Veeramachaneni c35d3a65bd
Add levels to all log lines.
7 years ago
Fabian Reinartz 6ee254e353 Ensure postings are always sorted
7 years ago
Fabian Reinartz f904cd385f Do not build a superflous 'all' postings
7 years ago
Fabian Reinartz c36d574290 Replace single head lock with granular locks
7 years ago
Fabian Reinartz 1ddedf2b30 Change series ID from uint32 to uint64
7 years ago
Fabian Reinartz 9f41d9fd3c Instrument chunks on level 1 compactions
7 years ago
Fabian Reinartz 4cc37eecab Refactor and add tests for compactor
7 years ago
Fabian Reinartz 3901b6e70b Remove multiple heads
7 years ago
Goutham Veeramachaneni 7438ed7035 Expose Intervals type for use by TombstoneReader.
7 years ago
Goutham Veeramachaneni 178f840295 Fix panic caused by 0 division
7 years ago
Fabian Reinartz 905af27cf9 Refactor compactor
7 years ago
Fabian Reinartz 66ff7b12e9 Pool Chunk objects during compaction
7 years ago
Fabian Reinartz 2644c8665c Don't allocate ChunkMetas, reuse postings slices
7 years ago
Fabian Reinartz 96d7f540d4 Persist series without allocating the full set
7 years ago
Fabian Reinartz 3951d8cc29 Fix selection of compactable blocks
7 years ago
Fabian Reinartz 5d7b5994d6 Fix compaction range selection
7 years ago
Goutham Veeramachaneni 401bdfd4a6 Make Chunks return the number of samples inside
7 years ago
Goutham Veeramachaneni 1263a68875 Recompact blocks with large number of tombstones
7 years ago
Goutham Veeramachaneni 9a2ab732b5 Choose ranges by retention and min-block-duration
7 years ago
Goutham Veeramachaneni ce23adb579 Initial compaction implementation for block-ranges
7 years ago
Fabian Reinartz 03f95ee096 Fix directory file descriptor leak.
8 years ago
Fabian Reinartz 05e411a8eb Improve heuristic to spread chunks across block
8 years ago
Fabian Reinartz f006e2d1ab Merge pull request #92 from prometheus/sources
8 years ago
Fabian Reinartz 683b4c8c2a Add list of source head blocks to meta.json
8 years ago
Goutham Veeramachaneni a1c8425357
Initial implementation of HeadBlock Snapshots
8 years ago