Skip to content
New issue

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

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

Already on GitHub? # 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.

@hicqu hicqu requested review from BusyJay, gengliqi and NingLin-P May 17, 2021 12:01
Signed-off-by: qupeng <qupeng@pingcap.com>
@hicqu hicqu force-pushed the protobuf-use-bytes branch from 6106aeb to e08bd3f Compare May 18, 2021 06:40
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 force-pushed the protobuf-use-bytes branch from f922a5f to 7496bc5 Compare May 20, 2021 05:47
@hicqu hicqu changed the title use bytes for protobuf and prost use bytes for protobuf May 20, 2021
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
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants