Skip to content

Commit ab7b5d1

Browse files
committed
fix
Signed-off-by: Andy Lok <andylokandy@hotmail.com>
1 parent 2d0d873 commit ab7b5d1

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

proto/kvrpcpb.proto

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -466,11 +466,11 @@ message RawBatchPutRequest {
466466
Context context = 1;
467467
repeated KvPair pairs = 2;
468468
string cf = 3;
469+
bool for_cas = 5;
469470
// The time-to-live for each keys in seconds, and if the length of `ttls`
470471
// is exactly one, the ttl will be applied to all keys. Otherwise, the length
471472
// mismatch between `ttls` and `pairs` will return an error.
472-
repeated uint64 ttls = 4;
473-
bool for_cas = 5;
473+
repeated uint64 ttls = 6;
474474
}
475475

476476
message RawBatchPutResponse {

src/generated/kvrpcpb.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -652,13 +652,13 @@ pub struct RawBatchPutRequest {
652652
pub pairs: ::prost::alloc::vec::Vec<KvPair>,
653653
#[prost(string, tag = "3")]
654654
pub cf: ::prost::alloc::string::String,
655+
#[prost(bool, tag = "5")]
656+
pub for_cas: bool,
655657
/// The time-to-live for each keys in seconds, and if the length of `ttls`
656658
/// is exactly one, the ttl will be applied to all keys. Otherwise, the length
657659
/// mismatch between `ttls` and `pairs` will return an error.
658-
#[prost(uint64, repeated, tag = "4")]
660+
#[prost(uint64, repeated, tag = "6")]
659661
pub ttls: ::prost::alloc::vec::Vec<u64>,
660-
#[prost(bool, tag = "5")]
661-
pub for_cas: bool,
662662
}
663663
#[allow(clippy::derive_partial_eq_without_eq)]
664664
#[derive(Clone, PartialEq, ::prost::Message)]

0 commit comments

Comments
 (0)