mirror of
https://github.com/luxfi/zapdb.git
synced 2026-10-30 15:12:20 +00:00
- Flatten function can now be called from live code path, i.e. while Badger is running. - Refactor stop and start compactions code, so it can be used in Flatten, DropAll, and other places. - Rename protos package to pb. Consolidate both the proto files into one pb.proto. - Rename KeyToKVList to just KeyToList in Stream. - Rename KVPair to just KV. Changes: * Rename protos to pb. * Rename KeyToKVList to KeyToList. * Refactor stop and start compactions, so we can use it in various places. * Rename KVPair to KV * Defer startCompactions right next to stopCompactions. * Catch all usages of KVPair. Rename to KV.
8 lines
209 B
Bash
Executable File
8 lines
209 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# You might need to go get -v github.com/gogo/protobuf/...
|
|
|
|
protos=${GOPATH-$HOME/go}/src/github.com/dgraph-io/badger/pb
|
|
pushd $protos > /dev/null
|
|
protoc --gofast_out=plugins=grpc:. -I=. pb.proto
|