Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use bytes for protobuf #438

Merged
merged 10 commits into from
May 24, 2021
Merged

use bytes for protobuf #438

merged 10 commits into from
May 24, 2021

Conversation

hicqu
Copy link
Contributor

@hicqu hicqu commented May 17, 2021

Signed-off-by: qupeng qupeng@pingcap.com

Waiting for tikv/protobuf-build#50.

If protobuf-codec is enabled, bytes will be used to replace Vec<u8> for protobuf bytes type.

However if prost-codec is enabled, Vec<u8> will be still used.

Cargo.toml Outdated Show resolved Hide resolved
Signed-off-by: qupeng <qupeng@pingcap.com>
Signed-off-by: qupeng <qupeng@pingcap.com>
@hicqu hicqu force-pushed the protobuf-use-bytes branch 6 times, most recently from af2c5ae to f922a5f Compare May 20, 2021 05:43
Signed-off-by: qupeng <qupeng@pingcap.com>
@hicqu hicqu changed the title use bytes for protobuf and prost use bytes for protobuf May 20, 2021
.travis.yml Outdated Show resolved Hide resolved
src/raft.rs Outdated Show resolved Hide resolved
hicqu added 6 commits May 20, 2021 14:47
Signed-off-by: qupeng <qupeng@pingcap.com>
Signed-off-by: qupeng <qupeng@pingcap.com>
Signed-off-by: qupeng <qupeng@pingcap.com>
Signed-off-by: qupeng <qupeng@pingcap.com>
Signed-off-by: qupeng <qupeng@pingcap.com>
Signed-off-by: qupeng <qupeng@pingcap.com>
BusyJay
BusyJay previously approved these changes May 24, 2021
Signed-off-by: qupeng <qupeng@pingcap.com>
@hicqu
Copy link
Contributor Author

hicqu commented May 24, 2021

/merge

@BusyJay BusyJay merged commit a891936 into tikv:master May 24, 2021
@hicqu hicqu deleted the protobuf-use-bytes branch May 24, 2021 09:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants