Chunking (#10)
* Add checkenc without serialisation for now. Signed-off-by:Goutham Veeramachaneni <cs14btech11014@iith.ac.in> * Simplify interface and add serialisatio` Signed-off-by:
Goutham Veeramachaneni <cs14btech11014@iith.ac.in> * Move away from \xFF magic to something simple Signed-off-by:
Goutham Veeramachaneni <cs14btech11014@iith.ac.in> * Add serialisation and Deserialisation Signed-off-by:
Goutham Veeramachaneni <cs14btech11014@iith.ac.in> * Modify interface to be closer to logish interface. Signed-off-by:
Goutham Veeramachaneni <cs14btech11014@iith.ac.in> * chunkenc: Fix race b/w append and iteration. Signed-off-by:
Goutham Veeramachaneni <cs14btech11014@iith.ac.in> * chunkenc: Make iterators honour bounds Signed-off-by:
Goutham Veeramachaneni <cs14btech11014@iith.ac.in> * chunkenc: Remove locks as safety is assured externally Signed-off-by:
Goutham Veeramachaneni <cs14btech11014@iith.ac.in> * chunkenc: Add checksums Signed-off-by:
Goutham Veeramachaneni <cs14btech11014@iith.ac.in> * Add code quotes around block design. * Split headBlock into it's own type. Signed-off-by:
Goutham Veeramachaneni <cs14btech11014@iith.ac.in> * Simplify encoding and decoding. Signed-off-by:
Goutham Veeramachaneni <cs14btech11014@iith.ac.in> * Expose flags. Signed-off-by:
Goutham Veeramachaneni <gouthamve@gmail.com> * Use the already existing EntryIterator interface Signed-off-by:
Goutham Veeramachaneni <gouthamve@gmail.com> * Use existing Chunk interface. Signed-off-by:
Goutham Veeramachaneni <gouthamve@gmail.com> * Review feedback Signed-off-by:
Goutham Veeramachaneni <gouthamve@gmail.com> * Integrate the compressed chunk and add metrics Signed-off-by:
Goutham Veeramachaneni <gouthamve@gmail.com>
Showing
- pkg/chunkenc/README.md 28 additions, 0 deletionspkg/chunkenc/README.md
- pkg/chunkenc/encoding_helpers.go 177 additions, 0 deletionspkg/chunkenc/encoding_helpers.go
- pkg/chunkenc/gzip.go 547 additions, 0 deletionspkg/chunkenc/gzip.go
- pkg/chunkenc/gzip_test.go 180 additions, 0 deletionspkg/chunkenc/gzip_test.go
- pkg/chunkenc/interface.go 39 additions, 0 deletionspkg/chunkenc/interface.go
- pkg/ingester/chunk.go 8 additions, 6 deletionspkg/ingester/chunk.go
- pkg/ingester/chunk_test.go 34 additions, 23 deletionspkg/ingester/chunk_test.go
- pkg/ingester/ingester.go 1 addition, 1 deletionpkg/ingester/ingester.go
- pkg/ingester/instance.go 30 additions, 4 deletionspkg/ingester/instance.go
- pkg/ingester/stream.go 43 additions, 45 deletionspkg/ingester/stream.go
- pkg/ingester/stream_test.go 42 additions, 28 deletionspkg/ingester/stream_test.go
- pkg/iter/iterator.go 111 additions, 0 deletionspkg/iter/iterator.go
Loading
Please register or sign in to comment