V1 Meta Protobufs
For compatibility with backups made via the v2.0.x influx CLI, we include logic
for opening & reading backed-up KV stores to derive bucket manifests. Part of that
process requires reading & unmarshalling V1 database info, serialized as protobuf.
To support that requirement, we've copied the meta.proto definition out of influxdb
and into this repository. This file isn't intended to be modified.
If meta.pb.go ever needs to be re-generated, follow these steps:
- Install
protoc(i.e. viabrew install protobuf) - Run
go install google.golang.org/protobuf/cmd/protoc-gen-gofrom within this repository - Run
go generate <path to internal/backup_restore>