The Wayback Machine - http://web.archive.org/web/20200825123245/https://github.com/pingcap/kvproto
Skip to content
master
Go to file
Code

Latest commit

* cdc: add regions field for reducing message of resolved ts

Signed-off-by: 5kbpers <tangminghua@pingcap.com>

* add message ResolvedTsEvent

Signed-off-by: 5kbpers <tangminghua@pingcap.com>
7771f65

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
cpp
 
 
 
 
pkg
 
 
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

kvproto

Protocol buffer files for TiKV

Dependencies

  • Rust
  • Go
  • Protoc 3.8.0

Usage

  • Write your own protocol file in proto folder.
  • If you need to update raft-rs, please download the proto file respectively and overwrite the one in include folder.
  • Run make to generate go and rust code. We generate all go codes in pkg folder and rust in src folder.
  • Update the dependent projects.

Multiple protoc Versions

If you need to override your version of protoc because you have a later version you can install the correct version like so:

PROTOC_VERSION=3.8.0
case `uname` in
  'Darwin') export OS='osx';; 
  'Linux') export OS='linux';;
esac
curl -L https://github.com/google/protobuf/releases/download/v$PROTOC_VERSION/protoc-$PROTOC_VERSION-$OS-x86_64.zip -o protoc.zip &&\
unzip protoc.zip -d protoc &&\
rm protoc.zip

Then you can run PATH="$(pwd)/protoc/bin:$PATH" make

You can’t perform that action at this time.