Commit Graph

42 Commits (6c34eb8b636b3d08432e96acce0c6d856fd4c94b)

Author SHA1 Message Date
Krasi Georgiev ee99718ff6
rename chunk reader vars to make it easier to follow. (#508)
6 years ago
Alec 051a7ae1a7 Missing the length of the encoding byte when calling b.Range
6 years ago
mknapphrt ebf5d74325 Added storage size based retention method and new metrics (#343)
6 years ago
naivewong bff5aa4d21 Missing the len of crc32 when calculating maxLen in WriteChunks (#494)
6 years ago
Benoît Knecht 1e1b2e163d Make interval overlap comparisons more explicit
6 years ago
Simon Pasquier f55ccd4ecb Add unit tests
7 years ago
Simon Pasquier ee5fe8ea9f chunks: fix potential "index out of range" error
7 years ago
Mario Trangoni c0e888e82b fix megacheck issues: os.SEEK_SET is deprecated: Use io.SeekStart, io.SeekCurrent, and io.SeekEnd.
7 years ago
Mario Trangoni 09142e4dd1 fix unconvert issues: unnecessary conversion
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
Callum Styan ff0b0ac4b6 use test utils in chunk_test
7 years ago
Daniel Swarbrick 0585ab3fcd Use Go 1.9 math/bits implementation for counting leading / trailing zeros
7 years ago
Fabian Reinartz ea817e169b Return nop iterator for invalid chunk references
7 years ago
Fabian Reinartz 905af27cf9 Refactor compactor
7 years ago
Fabian Reinartz 66ff7b12e9 Pool Chunk objects during compaction
7 years ago
Fabian Reinartz 96d7f540d4 Persist series without allocating the full set
7 years ago
Goutham Veeramachaneni 401bdfd4a6 Make Chunks return the number of samples inside
7 years ago
Julius Volz 0e2f8917ed Also add original license info to bstream.go
8 years ago
Fabian Reinartz 87676f4a26 Add dgryski/go-tsz LICENSE to header
8 years ago
Julius Volz 8d1fb4fa01 Minor comment fixes and additions.
8 years ago
Fabian Reinartz 778103b450 Add liecence file and headers
8 years ago
Goutham Veeramachaneni 761e4768f3
Lint and Vet Fixes
8 years ago
Fabian Reinartz 91b65b55e7 Run persistence in separate goroutine
8 years ago
Fabian Reinartz 62b8ded0a5 Rename iterator value getters to At()
8 years ago
Fabian Reinartz 5d75a3dc7b Add basic compaction
8 years ago
Fabian Reinartz 675f0886f0 Append to chunks cannot error
8 years ago
Fabian Reinartz ce7f4106c2 Reda correct label number, fix buffered iterator panic
8 years ago
Fabian Reinartz 70a0224f19 Change chunk sample number to BigEndian
8 years ago
Fabian Reinartz 40a451694f Refactor persistence into interfaces
8 years ago
Fabian Reinartz b845f8d3a1 Reduce test data allocations
8 years ago
Fabian Reinartz c5945177fb chunks: helper for bit range
8 years ago
Fabian Reinartz 9b459458d0 Docs and interface definitions
8 years ago
Fabian Reinartz 0b6d621471 chunks: bring back lead/trail reuse, truncate incomplete sample
8 years ago
Fabian Reinartz 8c48dc2ca5 chunks: varint encoding in first full 64bit numbers
8 years ago
Fabian Reinartz 5e76fd3126 chunks: drop shift, remove branch
8 years ago
Fabian Reinartz c9ee572709 chunks: don't mutate in bstream iterator
8 years ago
Fabian Reinartz f392c01c12 chunks: add randomized test
8 years ago
Fabian Reinartz fa181a34c1 chunks: cleanup anything but xor encoding
8 years ago
Fabian Reinartz e67cf768dc chunks: remove intermeidate copy from xor chunk
8 years ago
Fabian Reinartz 7874d28f32 chunks: implement xor encoding
8 years ago
Fabian Reinartz ae7b18ae34 Add chunk package
8 years ago