Commit Graph

165 Commits (643563068b778c498d369dd2fa00f6169e17890b)

Author SHA1 Message Date
Fabian Reinartz f904cd385f Do not build a superflous 'all' postings
7 years ago
Fabian Reinartz 6892fc6dcb Finish old WAL segment async, default to no fsync
7 years ago
Fabian Reinartz 1d5f85817d Fix various races
7 years ago
Fabian Reinartz 0db4c227b7 Fix min/max time handling and concurrent crc32 usage
7 years ago
Fabian Reinartz 81222849bc Filter WAL data in Head, misc fixes
7 years ago
Fabian Reinartz 33e9bdf403 WAL refactoring and truncation fixes and test
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
Goutham Veeramachaneni 1698c516ad [WIP]: WAL implementation
7 years ago
Fabian Reinartz 893b6ec506 Add tests for GC and chunk truncation
7 years ago
Fabian Reinartz 4f037da462 Remove defer statement in hot path
7 years ago
Fabian Reinartz 5cf2662074 Refactor WAL into Head and misc improvements
7 years ago
Fabian Reinartz 8209e3ec23 Add various metrics
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
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
Goutham Veeramachaneni f1ae239c20 Persist the right MaxTime when snapshotting
7 years ago
Fabian Reinartz 1e74c155eb Return empty string to signal non-caching
8 years ago
Fabian Reinartz 3410559c1b Compact head block early
8 years ago
Fabian Reinartz 9963a4c7c3 Merge pull request #95 from Gouthamve/wal-ahead
8 years ago
Goutham Veeramachaneni 73cc5bae51 Colocate defer statements near relevant functions
8 years ago
Goutham Veeramachaneni b51a05044e
Fix race condition for 2 appenders having same ts
8 years ago
Fabian Reinartz 05e411a8eb Improve heuristic to spread chunks across block
8 years ago
Goutham Veeramachaneni a110a64abd
Add full Snapshot support
8 years ago
Goutham Veeramachaneni a1c8425357
Initial implementation of HeadBlock Snapshots
8 years ago
Goutham Veeramachaneni 29c73f05f2
Make sure that mint and maxt are not modified.
8 years ago
Goutham Veeramachaneni 44e9ae38b5
Incorporate PR feedback.
8 years ago
Goutham Veeramachaneni 6febabeb28
Final delete fixes.
8 years ago
Goutham Veeramachaneni c211ec4f49
Fix concurrent map access.
8 years ago
Goutham Veeramachaneni f29fb62fba
Make TombstoneReader a Getter.
8 years ago
Goutham Veeramachaneni 9bf7aa9af1
Misc. fixes incorporating feedback.
8 years ago
Goutham Veeramachaneni 31cf939448
Add NumTombstones to BlockMeta.
8 years ago
Goutham Veeramachaneni 3eb4119ab1
Make HeadBlock use WAL.
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 662d8173fe
Make Appends after Delete visible.
8 years ago
Goutham Veeramachaneni d6bd64357b
Fix Delete on HeadBlock
8 years ago
Goutham Veeramachaneni 45d3db4e9e
Use a *mapTombstoneReader instead of map
8 years ago
Fabian Reinartz 39df7e2bba Switch blocks to ULID directories, drop sequenc numbers
8 years ago
Fabian Reinartz 285bc07030 Switch append refs to string
8 years ago
Goutham Veeramachaneni 22c1b5b492
Make SeriesSets use tombstones.
8 years ago
Goutham Veeramachaneni 34a86af3c6
Move tombstones to their own thing.
8 years ago
Goutham Veeramachaneni cea3c88f17
Add Tombstones() method to Block.
8 years ago
Goutham Veeramachaneni 4f1d857590
Implement Delete on HeadBlock
8 years ago
Goutham Veeramachaneni 5579efbd5b
Initial implentation of Deletes on persistedBlock
8 years ago
Fabian Reinartz 8b51b7e2be Make WAL for HeadBlock composeable.
8 years ago
Fabian Reinartz 4862b261d0 Abstract WAL into interface
8 years ago