Skip to content

Commit 2aa94c1

Browse files
authored
*: re-vendor kvproto at b41e863 (2026-06-22) and record the vendored revision (#550)
\n\nSigned-off-by: Eduard R. <eduard@ralphovi.net>
1 parent 20fd96b commit 2aa94c1

59 files changed

Lines changed: 8931 additions & 4765 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

proto/VERSION

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
pingcap/kvproto b41e86365ce0e0fba482005c0dfa5e2ca967d74c (2026-06-22)
2+
Matches client-go v2.0.8-0.20260708122311-01bd8f99f4da (go.mod: kvproto v0.0.0-20260622063236-b41e86365ce0).
3+
Re-vendor: copy proto/*.proto (matching names only) and include/ from that revision, then `make generate`.

proto/autoid.proto

Lines changed: 23 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -4,44 +4,45 @@ package autoid;
44
import "gogoproto/gogo.proto";
55
import "rustproto.proto";
66

7-
option (gogoproto.sizer_all) = true;
7+
option java_package = "org.tikv.kvproto";
8+
option (gogoproto.goproto_sizecache_all) = false;
9+
option (gogoproto.goproto_unkeyed_all) = false;
10+
option (gogoproto.goproto_unrecognized_all) = false;
811
option (gogoproto.marshaler_all) = true;
12+
option (gogoproto.sizer_all) = true;
913
option (gogoproto.unmarshaler_all) = true;
1014
option (rustproto.lite_runtime_all) = true;
1115

12-
option java_package = "org.tikv.kvproto";
13-
1416
message AutoIDRequest {
15-
int64 dbID = 1;
16-
int64 tblID = 2;
17-
bool isUnsigned = 3;
18-
uint64 n = 4;
19-
int64 increment = 5;
20-
int64 offset = 6;
21-
uint32 keyspaceID = 7;
17+
int64 dbID = 1;
18+
int64 tblID = 2;
19+
bool isUnsigned = 3;
20+
uint64 n = 4;
21+
int64 increment = 5;
22+
int64 offset = 6;
23+
uint32 keyspaceID = 7;
2224
}
2325

2426
message AutoIDResponse {
25-
int64 min = 1;
26-
int64 max = 2;
27+
int64 min = 1;
28+
int64 max = 2;
2729

28-
bytes errmsg = 3;
30+
bytes errmsg = 3;
2931
}
3032

3133
message RebaseRequest {
32-
int64 dbID = 1;
33-
int64 tblID = 2;
34-
bool isUnsigned = 3;
35-
int64 base = 4;
36-
bool force = 5;
34+
int64 dbID = 1;
35+
int64 tblID = 2;
36+
bool isUnsigned = 3;
37+
int64 base = 4;
38+
bool force = 5;
3739
}
3840

3941
message RebaseResponse {
40-
bytes errmsg = 1;
42+
bytes errmsg = 1;
4143
}
4244

4345
service AutoIDAlloc {
44-
rpc AllocAutoID(AutoIDRequest) returns (AutoIDResponse) {}
45-
rpc Rebase(RebaseRequest) returns (RebaseResponse) {}
46+
rpc AllocAutoID(AutoIDRequest) returns (AutoIDResponse) {}
47+
rpc Rebase(RebaseRequest) returns (RebaseResponse) {}
4648
}
47-

0 commit comments

Comments
 (0)