Commit Graph

197 Commits (e103f21cca7b33e7501a0c9ab8b771115f164df6)

Author SHA1 Message Date
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
Fabian Reinartz 535532ca02 Export refdSample
8 years ago
Fabian Reinartz 5534e6c53c Make HeadBlock impl public, make interface private
8 years ago
Goutham Veeramachaneni 2fa647f50b Fix missing postings in Merge and Intersect (#77)
8 years ago
Fabian Reinartz 291137781b Merge branch 'panic-fix2' of https://github.com/Gouthamve/tsdb into Gouthamve-panic-fix2
8 years ago
Fabian Reinartz 09cd2021de Merge pull request #75 from Gouthamve/head-gen
8 years ago
Goutham Veeramachaneni 8096d11e4e
Add bounds check to headBlockAppender
8 years ago
Goutham Veeramachaneni adaf4d2099
Handle duplicate & out of order values in same txn
8 years ago
Brian Brazil 72443bddfc Remove dead code.
8 years ago
Brian Brazil bceb5c1b16 When checking for amended points, do it in terms of bits.
8 years ago
Fabian Reinartz 778103b450 Add liecence file and headers
8 years ago
Fabian Reinartz c73a397da2 Adjust maximum samples per chunk.
8 years ago
Goutham Veeramachaneni a51b2666d7 Fix Panic When Accessing Uncut memorySeries
8 years ago
Fabian Reinartz 10c7c9acbe Adjust import names to new repository organisation
8 years ago
Fabian Reinartz 87d48bf9de Merge branch 'master' of github.com:fabxc/tsdb
8 years ago
Fabian Reinartz a52980e0a8 Add workaround for deadlocks
8 years ago
Goutham Veeramachaneni 61f866bb94
Add Sample Back
8 years ago
Fabian Reinartz 3be4ef94ce Move BufferedSeriesIterator in own package
8 years ago
Fabian Reinartz e478d0e3bc Actually close olds blocks in reloadBlocks
8 years ago
Fabian Reinartz 789e8224ff Fix wrong comparison in head block resorting
8 years ago
Fabian Reinartz 55ee4b5b3b Merge branch 'master' of github.com:fabxc/tsdb
8 years ago
Fabian Reinartz c18e055d7c Fix races and add comments on remaining ones
8 years ago
Fabian Reinartz e837034360 Merge pull request #14 from Gouthamve/log-update
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 2c999836fb Add Queryable interface to Block
8 years ago
Fabian Reinartz 11be2cc585 Add composed Block interfaces, remove head generation
8 years ago
Goutham Veeramachaneni df7db4ac07
Update kit/log To New API
8 years ago
Fabian Reinartz 65b846ae5b Remove unreturned locks, detect writes on closed heads
8 years ago
Fabian Reinartz e0b33a7a28 Remove leftover signaling channels from headBlock
8 years ago
Fabian Reinartz 34efe4e2c8 Drop position mapper from head block
8 years ago
Fabian Reinartz ad5812d83a Handle WAL corruption by truncating
8 years ago
Fabian Reinartz a8e8903350 Use ChunkMeta references for clarity
8 years ago
Fabian Reinartz e825a0b40c Make mapper updates asynchronous
8 years ago
Fabian Reinartz cb4dde7659 Fix WAL log recovery bug
8 years ago
Fabian Reinartz 87805fb83f Remove Partitioned* code
8 years ago
Fabian Reinartz 50791a412e Remove leaky Appender abstraction for hashedAppend
8 years ago
Fabian Reinartz 55a9b5428a Add separate head mutex
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 306831f151 Add per-block state ULID
8 years ago
Fabian Reinartz 78780cd2ba Segment chunk file
8 years ago
Fabian Reinartz a3d042b54e Support multiple chunk files in read path
8 years ago
Fabian Reinartz 9c7a88223e Add full encode/decode WAL cycle test
8 years ago
Fabian Reinartz f1435f2e2c Track appended samples properly in metric
8 years ago
Fabian Reinartz 012cf4ef25 Count writer references on head blocks
8 years ago
Fabian Reinartz 5a1c8eaa0e Fix missing appends after reference lookups
8 years ago
Fabian Reinartz ac5229e1b4 Correctly write empty blocks and extend appenders by new blocks
8 years ago
Fabian Reinartz 30efe4a58c Support writing to multiple head blocks
8 years ago
Fabian Reinartz c20cc44b06 Add docs, write sequence number to meta.json
8 years ago
Fabian Reinartz 472c618c39 Drop out-of-bound samples
8 years ago
Fabian Reinartz d4779b374c Properly track and write meta file
8 years ago
Fabian Reinartz 9ddbd64d00 Move stats into meta.json file, cleanup, docs
8 years ago
Fabian Reinartz 5ceca3c810 Write to WAL before appending to memory storage
8 years ago
Fabian Reinartz 343dd9d94c Fix wrong byte size in WAL base ref
8 years ago
Fabian Reinartz 5fb01d41aa Use new Prometheus text format parser
8 years ago
Fabian Reinartz dd0b69fe1b Export ErrNotFound
8 years ago
Fabian Reinartz 1c80c33e72 Fix bug of unsorted postings lists being created
8 years ago
Fabian Reinartz c7f5590a71 Ensure order of postings when adding new series
8 years ago
Fabian Reinartz d970f0256a Add Rollback() and docs to Appender interface
8 years ago
Fabian Reinartz 22db9c3413 Remove old appendBatch methods
8 years ago
Fabian Reinartz fde69dab49 Use buffer pool for head appenders
8 years ago
Fabian Reinartz a317f252b9 Expose series references to clients
8 years ago
Fabian Reinartz 5e028710d5 Add fast past to validation after lock switch
8 years ago
Fabian Reinartz 1b39887baa Revalidate series existance after lock switch
8 years ago
Fabian Reinartz ca5791efbc Simplify creation of new series
8 years ago
Fabian Reinartz 0ca755b4ae Replace single head chunk per series with memSeries
8 years ago
Fabian Reinartz c32a94d409 Unexport HeadBlock, export Block interface
8 years ago
Fabian Reinartz d86e8a63c7 Report correct number of appended samples
8 years ago