Ignacio Hagopian
a2b5ae2287
fix: check of persisted index values ( #91 )
2019-09-04 22:42:32 +10:00
Ignacio Hagopian
93cc1d409f
codec_index: check sizes, new tests for data corruption & refactor ( #84 )
...
* bitcask/codec_index: check key and data sizes
* codec_index: tests for key and data size overflows
* codec_index: simplify internal funcs for unused returns
2019-09-04 12:26:26 +10:00
Ignacio Hagopian
8041a4c1e7
Refactor and general tests for codec index ( #83 )
...
* codec_index: unexport const fields
* codec_index: unexport internal functions and doc exported ones
* codec_index: rename func & return errors for corruption
* codec_index: new test for ReadIndex, WriteIndex, and read corruption
* Update internal/codec_index.go
Co-Authored-By: James Mills <1290234+prologic@users.noreply.github.com >
* Update internal/codec_index.go
Co-Authored-By: James Mills <1290234+prologic@users.noreply.github.com >
2019-09-03 08:19:35 +10:00
James Mills
abbbeb8e1d
Replace keydir with ART trie ( #75 )
...
* Replace keydir with ART trie
* Address some review feedback
* Address review feedback (consts)
2019-09-02 08:38:56 +10:00