Commit Graph

78 Commits (1ddedf2b30b1da9e525f37baea22a01a7b740580)

Author SHA1 Message Date
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
Goutham Veeramachaneni 3a5ae6b1a4 Merge pull request #82 from Gouthamve/deletes-1
8 years ago
Goutham Veeramachaneni 44e9ae38b5
Incorporate PR feedback.
8 years ago
Fabian Reinartz b3b9245ad6 Add and fix metrics
8 years ago
Goutham Veeramachaneni 6febabeb28
Final delete fixes.
8 years ago
Goutham Veeramachaneni f29fb62fba
Make TombstoneReader a Getter.
8 years ago
Goutham Veeramachaneni 244b73fce1
Rename for clarity and consistency.
8 years ago
Goutham Veeramachaneni 8434019ad9
Merge branch 'master' into deletes-1
8 years ago
Goutham Veeramachaneni 0b70333ef6
Add tests for tombstones.
8 years ago
Goutham Veeramachaneni 3dbb400bef
Initial implementation of Delete on DB.
8 years ago
Fabian Reinartz 7e6961b4ac Fix import and var name
8 years ago
Fabian Reinartz d2673d8659 Completely drop empty blocks
8 years ago
Fabian Reinartz 39df7e2bba Switch blocks to ULID directories, drop sequenc numbers
8 years ago
Goutham Veeramachaneni 22c1b5b492
Make SeriesSets use tombstones.
8 years ago
Goutham Veeramachaneni 5579efbd5b
Initial implentation of Deletes on persistedBlock
8 years ago
Fabian Reinartz 778103b450 Add liecence file and headers
8 years ago
Fabian Reinartz 10c7c9acbe Adjust import names to new repository organisation
8 years ago
Fabian Reinartz 789e8224ff Fix wrong comparison in head block resorting
8 years ago
Fabian Reinartz 9c93f8f2aa Fix various races
8 years ago
Fabian Reinartz 3635569257 Trigger reload correctly on interrupted compaction
8 years ago
Fabian Reinartz a8e8903350 Use ChunkMeta references for clarity
8 years ago
Fabian Reinartz 04783831e2 Correctly close compacted blocks.
8 years ago
Fabian Reinartz 21b97d1e04 Fix compaction selection procedure
8 years ago
Fabian Reinartz 327e07e8d0 Properly sync moves and removes in compactor
8 years ago
Fabian Reinartz 92120448c2 Properly cleanup compacted dirs, fixes, docs
8 years ago
Fabian Reinartz 2c3e778d90 Compactor interface
8 years ago
Fabian Reinartz 2c3b56350a Write meta.json file atomically
8 years ago
Fabian Reinartz db5c88ea9a Misc compaction fixes
8 years ago
Fabian Reinartz 306831f151 Add per-block state ULID
8 years ago
Fabian Reinartz 9a5dfadb09 Tweak IndexWriter interface, serialize directly into dir
8 years ago