Files
zapdb/fb/gen.sh
Ibrahim JarifandGitHub ce11ae2977 [BREAKING] feat(index): Use flatbuffers instead of protobuf (#1546)
This PR 
- Uses flatbuffers instead of protobufs for table index and directly stores byte slices in the cache.
- Uses MaxVersion to pick the oldest tables for compaction first.
- Uses leveldb/bloom so that we can test it without unmarshal
- Adds uncompressed size and key count in table index.
- Updates write bench tool to use managed mode.
2020-10-03 22:04:58 +05:30

13 lines
287 B
Bash
Executable File

#!/usr/bin/env bash
set -e
## Install flatc if not present
## ref. https://google.github.io/flatbuffers/flatbuffers_guide_building.html
command -v flatc > /dev/null || { ./install_flatbuffers.sh ; }
flatc --go flatbuffer.fbs
# Move files to the correct directory.
mv fb/* ./
rmdir fb