Jay
Jay
> But there are TiDB specific protocols too. Can you name a few?
I think patching rust-protobuf is the best way to do it.
No, raft is a standard library that should keep its own protocols.
Sorry, it should be standalone. :rofl:
> ...why do we need to re-export the proto interface here? Because kvproto uses the struct of raft protocol directly, and due to the limited of protobuf compiler, we need...
It sounds good to me. But I have also been thinking about removing raft dependency from kvproto, so that raft is free to change its protocols, or even no protocols...
I just take a look into the protocols, it seems there are many places using eraft protos. It's not practical to remove the dependency now. So your proposal seems the...
kvproto now uses forked rust-protobuf, I believe forked rust-protobuf needs to be published first.
As far as I know, no one is working on it.