aerospike-client-go: [6.14.0] Proto registration conflict caused by `kv.proto`
Can you please prefix your proto names with something like aerospike_ ?
Proto names are global, and kv.proto is very generic and can easily clash with other tools. See: https://github.com/golang/protobuf/issues/1122
I’m one of the maintainers of github.com/dapr (dapr.io) which includes an aerospike integration. I cannot upgrade to 6.0.14 due to this issue.
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 19
Commits related to this issue
- Rename grpc proto definition files due to compiler limitations. Resolves #414 — committed to aerospike/aerospike-client-go by khaf 3 years ago
- Rename grpc proto definition files due to compiler limitations. Resolves #414 — committed to aerospike/aerospike-client-go by khaf 3 years ago
@khaf, thank you! I can confirm it works on our end. Really appreciate it.
@djaglowski gRPC is only used in a specific client mode used for our Database As A Service. In normal operation that mode can be excluded. I can provide a build tag to exclude that mode on build and work around this issue until we find a possible permanent resolution.
I backported the fix from the v7 to the v6. Hopefully this will address the issue.