Proto commits in pingcap/kvproto

These commits are when the Protocol Buffers files have changed: (only the last 100 relevant commits are shown)

Commit:7761cfb
Author:hongyunyan
Committer:hongyunyan

cdcpb: remove changefeed id from scan request Signed-off-by: hongyunyan <649330952@qq.com>

Commit:c3fb31a
Author:disksing

Keep AutoIDRequest keyspace fields compatible

Commit:57eabd0
Author:disksing

Make keyspace meta identity backward compatible

Commit:c57bf39
Author:disksing

Merge remote-tracking branch 'origin/master' into apiv3 # Conflicts: # pkg/keyspacepb/keyspacepb.pb.go # proto/keyspacepb.proto # scripts/proto.lock

Commit:1855247
Author:hongyunyan

cdcpb: merge latest master for scan priority Signed-off-by: hongyunyan <649330952@qq.com>

Commit:e800f9e
Author:lhy1024
Committer:GitHub

schedulingpb: add split reason to ask batch split request (#1459) (#1475) Signed-off-by: lhy1024 <19542290+lhy1024@users.noreply.github.com>

Commit:b4ca3f1
Author:Shenghui Wu
Committer:disksing

coprocessor: add TiCI estimate count RPC (#1457) * coprocessor: add TiCI estimate count rpc * Update proto/tikvpb.proto Co-authored-by: cfzjywxk <cfzjywxk@gmail.com> * tikvpb: fix TiFlash comment casing --------- Co-authored-by: cfzjywxk <cfzjywxk@gmail.com> Signed-off-by: disksing <i@disksing.com>

Commit:a0891f1
Author:Chao Wang
Committer:disksing

add fields to get commit timestamp in Get or BatchGet (#1371) (#1382) Signed-off-by: Chao Wang <cclcwangchao@hotmail.com> Signed-off-by: disksing <i@disksing.com>

Commit:1a93aa8
Author:王超
Committer:disksing

kvrpcpb: add `UndeterminedResult` to `KeyError` (#1310) * kvrpcpb: add `UndeterminedResult` to `KeyError` Signed-off-by: Chao Wang <cclcwangchao@hotmail.com> * txn: move `UndeterminedResult` to region error Signed-off-by: Chao Wang <cclcwangchao@hotmail.com> --------- Signed-off-by: Chao Wang <cclcwangchao@hotmail.com> Signed-off-by: disksing <i@disksing.com>

Commit:75ecdbe
Author:Chao Wang
Committer:disksing

*: support async resolve lock in ResolveLockRequest (#1462) Signed-off-by: disksing <i@disksing.com>

Commit:27a4b91
Author:Bisheng Huang
Committer:disksing

tikvpb: add batch command transport timestamps (#1446) * tikvpb: add batch command transport timestamps Add client_send_time_ns to BatchCommandsRequest and tikv_send_time_ns to BatchCommandsResponse so callers can track when a batch request leaves the client and when TiKV finishes preparing the response. Signed-off-by: Bisheng Huang <hbisheng@gmail.com> * proto: update proto lock for transport timestamps Refresh scripts/proto.lock for the new batch command transport timestamp fields so the compatibility metadata matches the proto schema. Signed-off-by: Bisheng Huang <hbisheng@gmail.com> --------- Signed-off-by: Bisheng Huang <hbisheng@gmail.com> Signed-off-by: disksing <i@disksing.com>

Commit:edbd86e
Author:you06
Committer:disksing

Add `Op::SharedLock` and `Op::SharedPessimisticLock` for acquiring shared lock in pessimistic transacitons. (#1374) * reserve Op for shared lock Signed-off-by: you06 <you1474600@gmail.com> * distinguish between shared prewrite locks and shared pessimistic locks (#1377) * let LockInfo carry the full txn info when it's shared Signed-off-by: zyguan <zhongyangguan@gmail.com> * move the todo comment to the proper place Signed-off-by: zyguan <zhongyangguan@gmail.com> * distinguish between shared prewrite locks and shared pessimistic locks Signed-off-by: zyguan <zhongyangguan@gmail.com> --------- Signed-off-by: zyguan <zhongyangguan@gmail.com> * update kvproto Signed-off-by: you06 <you1474600@gmail.com> * add embed shared_lock_infos Signed-off-by: you06 <you1474600@gmail.com> --------- Signed-off-by: you06 <you1474600@gmail.com> Signed-off-by: zyguan <zhongyangguan@gmail.com> Co-authored-by: zyguan <zhongyangguan@gmail.com> Signed-off-by: disksing <i@disksing.com>

Commit:97976be
Author:Ziqian Qin
Committer:disksing

kvrpcpb: add request origin to context (#1479) * kvrpcpb: add request origin to context Signed-off-by: Ziqian Qin <eke@fastmail.com> * make Signed-off-by: Ziqian Qin <eke@fastmail.com> --------- Signed-off-by: Ziqian Qin <eke@fastmail.com> Signed-off-by: disksing <i@disksing.com>

Commit:cb308be
Author:王超
Committer:disksing

kvrpcpb: Add more fields in CommitRequest/Response to give more lock info (#1308) * kvrpcpb: Add more fields in CommitRequest/Response to give more lock info Signed-off-by: Chao Wang <cclcwangchao@hotmail.com> * Add `mvcc_info` to `TxnLockNotFound` * Add debug info Signed-off-by: Chao Wang <cclcwangchao@hotmail.com> * Add CommitRole Signed-off-by: Chao Wang <cclcwangchao@hotmail.com> * Update proto/kvrpcpb.proto --------- Signed-off-by: Chao Wang <cclcwangchao@hotmail.com> Co-authored-by: cfzjywxk <cfzjywxk@gmail.com> Signed-off-by: disksing <i@disksing.com>

Commit:2aab4d2
Author:glorv
Committer:disksing

resource_control: add cross az traffic bytes in ru consumption (#1325) * add cross AZ traffic in resource consumption Signed-off-by: glorv <glorvs@163.com> * add network detail in exec detail Signed-off-by: glorv <glorvs@163.com> * use distinct read and write network traffic bytes Signed-off-by: glorv <glorvs@163.com> --------- Signed-off-by: glorv <glorvs@163.com> Signed-off-by: disksing <i@disksing.com>

Commit:f92cd61
Author:MyonKeminta
Committer:disksing

Support excluding GC barriers for GetGCState and GetAllKeyspacesGCState (#1461) * Support excluding GC barriers for GetGCState and GetAllKeyspacesGCState Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com> * Add exclude global gc barriers parameter Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com> --------- Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com> Co-authored-by: MyonKeminta <MyonKeminta@users.noreply.github.com> Signed-off-by: disksing <i@disksing.com>

Commit:1ac2946
Author:tiancaiamao
Committer:disksing

add global gc barrier API for pd (#1315) * proto/pdpb: add global gc barrier API for pd Signed-off-by: tiancaiamao <tiancaiamao@gmail.com> * address comment Signed-off-by: tiancaiamao <tiancaiamao@gmail.com> * update GetAllKeyspacesGCStatesResponse Signed-off-by: tiancaiamao <tiancaiamao@gmail.com> --------- Signed-off-by: tiancaiamao <tiancaiamao@gmail.com> Signed-off-by: disksing <i@disksing.com>

Commit:68d70b4
Author:JmPotato
Committer:disksing

feat(resource_manager): add keyspace support (#1311) * feat(resource_manager): add keyspace support Signed-off-by: JmPotato <github@ipotato.me> * Use KeyspaceIDValue wrapper Signed-off-by: JmPotato <github@ipotato.me> --------- Signed-off-by: JmPotato <github@ipotato.me> Signed-off-by: disksing <i@disksing.com>

Commit:d429ce8
Author:MyonKeminta
Committer:disksing

Add new GC API (#1288) * Add new GC API Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com> * Update definition of keyspace specifier in requests to avoid potential misuses Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com> * Update to the latest design * Update protocol Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com> * Fix missing field Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com> --------- Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com> Co-authored-by: MyonKeminta <MyonKeminta@users.noreply.github.com> Signed-off-by: disksing <i@disksing.com>

Commit:0069a1d
Author:disksing
Committer:disksing

Merge keyspace group lookup by identity Signed-off-by: disksing <i@disksing.com>

Commit:c86cd42
Author:Ryan Leung
Committer:disksing

keyspacepb: add load keyspace by ID RPC (#1491) Signed-off-by: disksing <i@disksing.com>

Commit:67de11b
Author:Ziqian Qin
Committer:GitHub

coprocessor: add bucket version to store batch task (#1488) (cherry picked from commit 46e67d198f6dca0bcf1a189cef9f5b6799c41abb) Signed-off-by: Ziqian Qin <eke@fastmail.com>

Commit:a8b285a
Author:hongyunyan

cdcpb: add scan priority for cse base

Commit:f3bb7de
Author:hongyunyan

cdcpb: add scan priority to change data request

Commit:b41e863
Author:Ryan Leung
Committer:GitHub

keyspacepb: add load keyspace by ID RPC (#1491)

The documentation is generated from this commit.

Commit:21b5208
Author:Jianjun Liao
Committer:GitHub

cherry-pick compacted based PITR restore (#1492) * metaedit: add new field to record meta files that can be skipped (#1338) * update metaedit field name (#1339) * metaedit: add new field to record meta files that can be skipped * metaedit: rename field name * brpb with bytes (#1353) * brpb with bytes Signed-off-by: Jianjun Liao <jianjun.liao@outlook.com> * brpb with bytes Signed-off-by: Jianjun Liao <jianjun.liao@outlook.com> * brpb with bytes Signed-off-by: Jianjun Liao <jianjun.liao@outlook.com> * brpb with bytes Signed-off-by: Jianjun Liao <jianjun.liao@outlook.com> * brpb with bytes Signed-off-by: Jianjun Liao <jianjun.liao@outlook.com> * add scripts to check Signed-off-by: Jianjun Liao <jianjun.liao@outlook.com> * update rust-protobuf version Signed-off-by: Jianjun Liao <jianjun.liao@outlook.com> * update rust-protobuf version Signed-off-by: Jianjun Liao <jianjun.liao@outlook.com> * revert cargo version Signed-off-by: Jianjun Liao <jianjun.liao@outlook.com> * test Signed-off-by: Jianjun Liao <jianjun.liao@outlook.com> * test Signed-off-by: Jianjun Liao <jianjun.liao@outlook.com> * revert debug Signed-off-by: Jianjun Liao <jianjun.liao@outlook.com> * commit some suggestions Signed-off-by: Jianjun Liao <jianjun.liao@outlook.com> * fix typos Signed-off-by: Jianjun Liao <jianjun.liao@outlook.com> --------- Signed-off-by: Jianjun Liao <jianjun.liao@outlook.com> * save stats in migration (#1481) Signed-off-by: Jianjun Liao <jianjun.liao@outlook.com> * br: Add batch download rpc for compact (#1360) * fix * trigger tests --------- Co-authored-by: Jianjun Liao <36503113+Leavrth@users.noreply.github.com> * add batch download latest mvcc rpc function (#1456) Signed-off-by: Jianjun Liao <jianjun.liao@outlook.com> --------- Signed-off-by: Jianjun Liao <jianjun.liao@outlook.com> Co-authored-by: 3pointer <luancheng@pingcap.com> Co-authored-by: ris <79858083+RidRisR@users.noreply.github.com>

Commit:f8bd26d
Author:tongjian
Committer:GitHub

Merge branch 'master' into pd-keyspace-load-by-id

The documentation is generated from this commit.

Commit:5ec421b
Author:Ryan Leung

keyspacepb: add load keyspace by ID RPC Signed-off-by: Ryan Leung <rleungx@gmail.com>

Commit:b4e6138
Author:disksing

Add namespace metadata APIs Signed-off-by: disksing <i@disksing.com>

Commit:3566665
Author:disksing

Add namespace metadata APIs Signed-off-by: disksing <i@disksing.com>

Commit:a15c348
Author:JmPotato
Committer:GitHub

proto: add paging_size_bytes to coprocessor.Request (#1448) Add a new uint64 field `paging_size_bytes` (field 17) to the coprocessor Request message. When set, TiKV will stop scanning when accumulated scanned bytes reach this limit, enabling byte-budget paging for finer-grained Resource Control. Note: rebased onto upstream master where field 16 is now taken by max_keys_read (#1450), so paging_size_bytes was bumped from field 16 to field 17. Signed-off-by: JmPotato <github@ipotato.me>

Commit:177e124
Author:disksing

Merge keyspace group lookup by identity Signed-off-by: disksing <i@disksing.com>

Commit:e58f3b1
Author:disksing

Merge keyspace group lookup by identity Signed-off-by: disksing <i@disksing.com>

Commit:021d3ca
Author:disksing

Remove service safe point response keyspace identity Signed-off-by: disksing <i@disksing.com>

Commit:91be314
Author:disksing

Remove service safe point response keyspace identity Signed-off-by: disksing <i@disksing.com>

Commit:cabe761
Author:disksing

Remove GC safe point response keyspace identity Signed-off-by: disksing <i@disksing.com>

Commit:ac39bd6
Author:disksing

Remove GC safe point response keyspace identity Signed-off-by: disksing <i@disksing.com>

Commit:214a58f
Author:disksing

Adjust DFS stat keyspace scope fields Signed-off-by: disksing <i@disksing.com>

Commit:7f5d4da
Author:disksing

Clarify keyspace pagination comment Signed-off-by: disksing <i@disksing.com>

Commit:52f4995
Author:disksing

Clarify keyspace pagination comment Signed-off-by: disksing <i@disksing.com>

Commit:7615a31
Author:disksing

Use oneof for keyspace identity fields Signed-off-by: disksing <i@disksing.com>

Commit:58ce560
Author:disksing

Use oneof for keyspace identity fields Signed-off-by: disksing <i@disksing.com>

Commit:904083a
Author:Ziqian Qin
Committer:GitHub

cherry-pick #1446 #1449 #1438 to release-nextgen-202603 (#1490) * tikvpb: add batch command transport timestamps (#1446) * tikvpb: add batch command transport timestamps Add client_send_time_ns to BatchCommandsRequest and tikv_send_time_ns to BatchCommandsResponse so callers can track when a batch request leaves the client and when TiKV finishes preparing the response. Signed-off-by: Bisheng Huang <hbisheng@gmail.com> * proto: update proto lock for transport timestamps Refresh scripts/proto.lock for the new batch command transport timestamp fields so the compatibility metadata matches the proto schema. Signed-off-by: Bisheng Huang <hbisheng@gmail.com> --------- Signed-off-by: Bisheng Huang <hbisheng@gmail.com> (cherry picked from commit e1255a54481712e61fcbfab3e280692dc7eaeaf0) Signed-off-by: Ziqian Qin <eke@fastmail.com> * tikvpb: regenerate go files for #1446 (#1449) Signed-off-by: zyguan <zhongyangguan@gmail.com> (cherry picked from commit 335c5c64af53d840ff6c3ceb57b6840132ff568b) Signed-off-by: Ziqian Qin <eke@fastmail.com> * kvrpcpb: add IA read fields to scan detail v2 (#1438) * kvrpcpb: add IA read fields to scan detail v2 Signed-off-by: Connor1996 <zbk602423539@gmail.com> (cherry picked from commit 4a7f5452b9f9e9a7c1a355fcb2ca1795f50ead85) * kvrpcpb: remove IA cache miss scan detail field Signed-off-by: Connor1996 <zbk602423539@gmail.com> * kvrpcpb: reorder IA scan detail fields Signed-off-by: Connor1996 <zbk602423539@gmail.com> * kvrpcpb: rename IA remote read fields Signed-off-by: Connor1996 <zbk602423539@gmail.com> --------- Signed-off-by: Connor1996 <zbk602423539@gmail.com> Co-authored-by: Evan Zhou <coocood@gmail.com> (cherry picked from commit 02dc8a9dc01827367f9d91ff2d88c447d3a838ab) Signed-off-by: Ziqian Qin <eke@fastmail.com> --------- Signed-off-by: Bisheng Huang <hbisheng@gmail.com> Signed-off-by: Ziqian Qin <eke@fastmail.com> Signed-off-by: zyguan <zhongyangguan@gmail.com> Signed-off-by: Connor1996 <zbk602423539@gmail.com> Co-authored-by: Bisheng Huang <hbisheng@gmail.com> Co-authored-by: zyguan <zhongyangguan@gmail.com> Co-authored-by: Connor <zbk602423539@gmail.com> Co-authored-by: Evan Zhou <coocood@gmail.com>

Commit:8592c1c
Author:cfzjywxk
Committer:cfzjywxk

Sync proto changes from master

Commit:aed0942
Author:David
Committer:GitHub

kvrpcpb: add rpc counters to ruv2 (#1445) (#1487) * kvrpcpb: add rpc counters to ruv2 * kvrpcpb: clarify rpc counter ownership --------- (cherry picked from commit 0d407c8b3f6e9abd0e9f7f9a78284ecedf8ab2f2) Signed-off-by: disksing <i@disksing.com> Co-authored-by: disksing <i@disksing.com>

Commit:ae79155
Author:Ziqian Qin
Committer:GitHub

coprocessor: add bucket version to store batch task (#1484) Signed-off-by: Ziqian Qin <eke@fastmail.com>

Commit:412e014
Author:David
Committer:GitHub

externalworkloadpb: add external workload controller proto (#1468) * externalworkloadpb: add external workload controller proto Add proto/externalworkloadpb.proto defining the ExternalWorkloadController gRPC service that an external controller exposes to TiDB instances. Under the Starter deploy mode TiDB calls into it to register and recycle background workloads (GC, distributed background subtasks, TTL, auto-analyze, remote queries) so the controller can run them on dedicated TiDB instances and scale those instances on demand. Generated Go lands in pkg/externalworkloadpb; the new file is registered in scripts/proto.lock. * externalworkloadpb: clarify TTL recycle watermark * externalworkloadpb: pair bg task exec assignments * externalworkloadpb: clarify workload timing comments

Commit:50b8637
Author:Ziqian Qin
Committer:GitHub

kvrpcpb: add request origin to context (#1479) (#1483) * kvrpcpb: add request origin to context * make --------- (cherry picked from commit b2b3bb4922786fdef35726c285936bf4c3a98931) Signed-off-by: Ziqian Qin <eke@fastmail.com>

Commit:9340947
Author:disksing

Merge remote-tracking branch 'origin/master' into apiv3 # Conflicts: # pkg/kvrpcpb/kvrpcpb.pb.go # pkg/pdpb/pdpb.pb.go Signed-off-by: disksing <i@disksing.com>

Commit:1e6ff1c
Author:lance6716
Committer:GitHub

br, import: reserve a range of field number (#1480) Signed-off-by: lance6716 <lance6716@gmail.com>

Commit:f8184e7
Author:Ziqian Qin
Committer:GitHub

coprocessor: add bucket version to store batch task (#1478) Signed-off-by: Ziqian Qin <eke@fastmail.com>

Commit:b7a4151
Author:Jianjun Liao
Committer:GitHub

save stats in migration (#1481) Signed-off-by: Jianjun Liao <jianjun.liao@outlook.com>

Commit:b2b3bb4
Author:Ziqian Qin
Committer:GitHub

kvrpcpb: add request origin to context (#1479) * kvrpcpb: add request origin to context Signed-off-by: Ziqian Qin <eke@fastmail.com> * make Signed-off-by: Ziqian Qin <eke@fastmail.com> --------- Signed-off-by: Ziqian Qin <eke@fastmail.com>

Commit:e6267a0
Author:Chao Wang
Committer:GitHub

*: support async resolve lock in ResolveLockRequest (#1462) (#1477)

Commit:39498d6
Author:lhy1024
Committer:GitHub

pd: add cpu stats in heartbeat (#1472) * pd: add cpu stats for hot scheduler (#1414) * pd: add cpu stats for hot scheduler Signed-off-by: lhy1024 <admin@liudos.us> * add deprecated Signed-off-by: lhy1024 <admin@liudos.us> * fix lint Signed-off-by: lhy1024 <admin@liudos.us> * fix conflict Signed-off-by: lhy1024 <admin@liudos.us> --------- Signed-off-by: lhy1024 <admin@liudos.us> * pd: add scheduler cpu in cpu stats (#1437) * add scheduler cpu Signed-off-by: lhy1024 <admin@liudos.us> * add some comments Signed-off-by: lhy1024 <admin@liudos.us> --------- Signed-off-by: lhy1024 <admin@liudos.us> * generate code Signed-off-by: lhy1024 <admin@liudos.us> * proto: move cpu_stats after approximate_kv_size --------- Signed-off-by: lhy1024 <admin@liudos.us>

Commit:82f854c
Author:lhy1024
Committer:GitHub

schedulingpb: add split reason to ask batch split request (#1459) (#1476) (cherry picked from commit fc9e0458a35922d4683e16df697f1b73ff77a3f7) Signed-off-by: lhy1024 <19542290+lhy1024@users.noreply.github.com>

Commit:ef32a1e
Author:JmPotato
Committer:GitHub

pdpb: introduce QueryRegion stream (#1273) (#1467) Signed-off-by: JmPotato <github@ipotato.me>

Commit:a1d1447
Author:Jianjun Liao
Committer:GitHub

add batch download latest mvcc rpc function (#1473) Signed-off-by: Jianjun Liao <jianjun.liao@outlook.com>

Commit:e9239b4
Author:yibin
Committer:GitHub

Cherry pick pr 1354 to release 8.5 20251208 v8.5.4 (#1471) * Add network and io info for topsql agent record, and add new region record Signed-off-by: yibin87 <huyibin@pingcap.com> (cherry picked from commit 1aced9ed5b950b37ca11e485b9061999d7547c24) * kvproto: regenerate go code for PR #1354 Signed-off-by: yibin87 <huyibin@pingcap.com> --------- Signed-off-by: yibin87 <huyibin@pingcap.com>

Commit:ca8835c
Author:lhy1024
Committer:GitHub

pd: support disable-auto-split region (#1351) (#1386) (#1464) * pd: support disable-auto-split region (#1351) * pd: support disable-auto-split region * add comment --------- * generate go code --------- Signed-off-by: HunDunDM <hundundm@gmail.com> Signed-off-by: lhy1024 <admin@liudos.us> Co-authored-by: 混沌DM <hundundm@gmail.com>

Commit:daa7c86
Author:MyonKeminta
Committer:GitHub

Support excluding GC barriers for GetGCState and GetAllKeyspacesGCState (#1461) * Support excluding GC barriers for GetGCState and GetAllKeyspacesGCState Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com> * Add exclude global gc barriers parameter Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com> --------- Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com> Co-authored-by: MyonKeminta <MyonKeminta@users.noreply.github.com>

Commit:a164c29
Author:Ti Chi Robot
Committer:GitHub

tikvpb: add batch command transport timestamps (#1446) (#1463) * This is an automated cherry-pick of #1446 Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io> * resolve conflicts Signed-off-by: zyguan <zhongyangguan@gmail.com> --------- Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io> Signed-off-by: zyguan <zhongyangguan@gmail.com> Co-authored-by: Bisheng Huang <hbisheng@gmail.com> Co-authored-by: zyguan <zhongyangguan@gmail.com>

Commit:eea846d
Author:Chao Wang
Committer:GitHub

*: support async resolve lock in ResolveLockRequest (#1462)

Commit:fc9e045
Author:lhy1024
Committer:GitHub

schedulingpb: add split reason to ask batch split request (#1459) Signed-off-by: lhy1024 <admin@liudos.us>

Commit:9275fca
Author:disksing

api: remove namespace from keyspace lookup Signed-off-by: disksing <i@disksing.com>

Commit:d885a32
Author:disksing

api: remove namespace from keyspace lookup Signed-off-by: disksing <i@disksing.com>

Commit:1312a62
Author:disksing

api-v3: normalize keyspace identity fields Signed-off-by: disksing <i@disksing.com>

Commit:e279ac6
Author:disksing

api-v3: normalize keyspace identity fields Signed-off-by: disksing <i@disksing.com>

Commit:db7cac1
Author:disksing

api: drop unrelated region buckets proto Signed-off-by: disksing <i@disksing.com>

Commit:12c90e5
Author:disksing

api: drop unrelated GC state protos Signed-off-by: disksing <i@disksing.com>

Commit:831d3b5
Author:disksing

api: keep TSO group response focused Signed-off-by: disksing <i@disksing.com>

Commit:5fa3c39
Author:disksing

api: keep TSO group response focused Signed-off-by: disksing <i@disksing.com>

Commit:f7d0094
Author:disksing

scheduling: add region buckets stream Signed-off-by: disksing <i@disksing.com>

Commit:b46297c
Author:disksing

api: add API V3 keyspace identity protos Signed-off-by: disksing <i@disksing.com>

Commit:b17ca6f
Author:disksing

api: add API V3 keyspace identity protos Signed-off-by: disksing <i@disksing.com>

Commit:6a23879
Author:wshwsh12
Committer:wshwsh12

fmt

Commit:125c069
Author:wshwsh12
Committer:wshwsh12

update tici

Commit:3775245
Author:wshwsh12
Committer:wshwsh12

proto

Commit:811b528
Author:Shenghui Wu
Committer:GitHub

coprocessor: add TiCI estimate count RPC (#1457) * coprocessor: add TiCI estimate count rpc * Update proto/tikvpb.proto Co-authored-by: cfzjywxk <cfzjywxk@gmail.com> * tikvpb: fix TiFlash comment casing --------- Co-authored-by: cfzjywxk <cfzjywxk@gmail.com>

Commit:f33f20c
Author:Jianjun Liao
Committer:GitHub

add batch download latest mvcc rpc function (#1456) Signed-off-by: Jianjun Liao <jianjun.liao@outlook.com>

Commit:e6483b3
Author:disksing
Committer:GitHub

kvrpcpb: add rpc counters to ruv2 (#1445) (#46) * kvrpcpb: add rpc counters to ruv2 * kvrpcpb: clarify rpc counter ownership --------- Signed-off-by: disksing <i@disksing.com>

Commit:c50e8ed
Author:Ti Chi Robot
Committer:GitHub

Detect unrecognize meta (#1441) (#1451) * This is an automated cherry-pick of #1441 Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io> * BR: fix conflict * move metaversion from tidb to kvproto (#1450) * move metaversion from tidb to kvproto * add hints * add info * add agent.md * rm comments * add skills (cherry picked from commit 4388bfaaedab56fb1dd3b623be195e3912d89685) * ci: trigger golang and rust workflows for release-8.5 Agent-Logs-Url: https://github.com/pingcap/kvproto/sessions/1f6df8db-1452-4164-9a9f-08d2cb26baad Co-authored-by: wuhuizuo <2574558+wuhuizuo@users.noreply.github.com> (cherry picked from commit f4684353196f752016b2e688ec599c13e693d778) * Lock Ubuntu at 22.04 for Rust Test Workflow (#1286) (cherry picked from commit 4f82299d3d5236e692e9e0d9a454f3ea5a7c7dc3) * allow static_mut_refs (#1286) (cherry picked from commit 29dbe4bf517bb147c47ffe0bc7b6af45c005b90d) --------- Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io> Co-authored-by: JoyC-dev <chen.han@pingcap.com> Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: wuhuizuo <2574558+wuhuizuo@users.noreply.github.com> Co-authored-by: timzxz <xiaozhou.zhu@pingcap.com>

Commit:c5e0978
Author:JoyC-dev

BR: fix conflict

Commit:aa06458
Author:JoyC-dev
Committer:ti-chi-bot

This is an automated cherry-pick of #1441 Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io>

Commit:aaeadf6
Author:iosmanthus
Committer:GitHub

pd: add callee_id to RequestHeader (#1379) * pd: add callee_id to RequestHeader `callee_id` is used to indicate the expected server ID to receive the request. The server SHOULD check if the `callee_id` matches its own ID, normally it's the client url address of the server. We encountered an issue where a tso client caches the stale DNS result and the new tso server takes over the old server's network address, then the tso client connects to the new tso server (a follower) with the actual leader's hostname, creating a hallucination that the leader is not the leader anymore. If the client meets this case, it might never get out of it if it doesn't refresh its DNS cache by reconnecting. Signed-off-by: iosmanthus <myosmanthustree@gmail.com> * fix header location Signed-off-by: iosmanthus <myosmanthustree@gmail.com> * ci: retrigger CI --------- Signed-off-by: iosmanthus <myosmanthustree@gmail.com>

Commit:bb32227
Author:Artem Danilov
Committer:GitHub

copr: add max_keys_read coprocessor Request (#1447) Signed-off-by: artem_danilov <artem.danilov@airbnb.com> Co-authored-by: tiancaiamao <tiancaiamao@gmail.com>

Commit:e1255a5
Author:Bisheng Huang
Committer:GitHub

tikvpb: add batch command transport timestamps (#1446) * tikvpb: add batch command transport timestamps Add client_send_time_ns to BatchCommandsRequest and tikv_send_time_ns to BatchCommandsResponse so callers can track when a batch request leaves the client and when TiKV finishes preparing the response. Signed-off-by: Bisheng Huang <hbisheng@gmail.com> * proto: update proto lock for transport timestamps Refresh scripts/proto.lock for the new batch command transport timestamp fields so the compatibility metadata matches the proto schema. Signed-off-by: Bisheng Huang <hbisheng@gmail.com> --------- Signed-off-by: Bisheng Huang <hbisheng@gmail.com>

Commit:c4626d2
Author:JoyC-dev
Committer:GitHub

BR: add unrecognize part detection (#1441)

Commit:0d407c8
Author:disksing
Committer:GitHub

kvrpcpb: add rpc counters to ruv2 (#1445) * kvrpcpb: add rpc counters to ruv2 Signed-off-by: disksing <i@disksing.com> * kvrpcpb: clarify rpc counter ownership Signed-off-by: disksing <i@disksing.com> --------- Signed-off-by: disksing <i@disksing.com>

Commit:d54a008
Author:dbsid
Committer:GitHub

proto: add DB9 aggregate and interval wire schema (#1444) * proto: add db9 coprocessor contract * proto: add db9 timestamp wire variants * docs: add DB9 coprocessor protocol design note * feat(db9-cop): add aggregate plan wire schema * proto: add db9 interval wire value --------- Signed-off-by: dbsid <2316425+dbsid@users.noreply.github.com> Co-authored-by: dbsid <2316425+dbsid@users.noreply.github.com>

Commit:b2a44bd
Author:Connor
Committer:GitHub

kvrpcpb: add IA read fields to scan detail (#43) * kvrpcpb: add IA read fields to scan detail v2 Signed-off-by: Connor1996 <zbk602423539@gmail.com> (cherry picked from commit 4a7f5452b9f9e9a7c1a355fcb2ca1795f50ead85) (cherry picked from commit e330e75d4d7d6c397805a13684864a6295281a7d) * kvrpcpb: align IA scan detail fields with upstream Signed-off-by: Connor1996 <zbk602423539@gmail.com> --------- Signed-off-by: Connor1996 <zbk602423539@gmail.com>

Commit:02dc8a9
Author:Connor
Committer:GitHub

kvrpcpb: add IA read fields to scan detail v2 (#1438) * kvrpcpb: add IA read fields to scan detail v2 Signed-off-by: Connor1996 <zbk602423539@gmail.com> (cherry picked from commit 4a7f5452b9f9e9a7c1a355fcb2ca1795f50ead85) * kvrpcpb: remove IA cache miss scan detail field Signed-off-by: Connor1996 <zbk602423539@gmail.com> * kvrpcpb: reorder IA scan detail fields Signed-off-by: Connor1996 <zbk602423539@gmail.com> * kvrpcpb: rename IA remote read fields Signed-off-by: Connor1996 <zbk602423539@gmail.com> --------- Signed-off-by: Connor1996 <zbk602423539@gmail.com> Co-authored-by: Evan Zhou <coocood@gmail.com>

Commit:53bdd57
Author:dbsid
Committer:GitHub

proto: add DB9 coprocessor contract (#1439) * proto: add db9 coprocessor contract * proto: add db9 timestamp wire variants * docs: add DB9 coprocessor protocol design note * proto: update proto.lock for DB9 timestamp variants --------- Co-authored-by: dbsid <2316425+dbsid@users.noreply.github.com>

Commit:13d8188
Author:lhy1024
Committer:GitHub

[cherry-pick] pd: add cpu stats in heartbeat (#1443) * pd: add cpu stats for hot scheduler (#1414) * pd: add cpu stats for hot scheduler Signed-off-by: lhy1024 <admin@liudos.us> * add deprecated Signed-off-by: lhy1024 <admin@liudos.us> * fix lint Signed-off-by: lhy1024 <admin@liudos.us> * fix conflict Signed-off-by: lhy1024 <admin@liudos.us> --------- Signed-off-by: lhy1024 <admin@liudos.us> * pd: add scheduler cpu in cpu stats (#1437) * add scheduler cpu Signed-off-by: lhy1024 <admin@liudos.us> * add some comments Signed-off-by: lhy1024 <admin@liudos.us> --------- Signed-off-by: lhy1024 <admin@liudos.us> * generate code Signed-off-by: lhy1024 <admin@liudos.us> * proto: move cpu_stats after approximate_kv_size --------- Signed-off-by: lhy1024 <admin@liudos.us>

Commit:678ff92
Author:lhy1024
Committer:GitHub

pd: add scheduler cpu in cpu stats (#1437) * add scheduler cpu Signed-off-by: lhy1024 <admin@liudos.us> * add some comments Signed-off-by: lhy1024 <admin@liudos.us> --------- Signed-off-by: lhy1024 <admin@liudos.us>

Commit:9257794
Author:lance6716

cherry-pick Signed-off-by: lance6716 <lance6716@gmail.com>

Commit:27803e3
Author:Bisheng Huang
Committer:GitHub

keyspace_encryptionpb: add keyspace encryption metadata protos (#1401) * keyspace_encryptionpb: add keyspace encryption metadata protos Add keyspace-level encryption metadata messages. This is needed so other components (e.g. CDC) can fetch and deserialize keyspace encryption info using a shared schema from kvproto. Includes generated Go bindings and updates proto.lock for compatibility checks. Signed-off-by: Bisheng Huang <hbisheng@gmail.com> * keyspace_encryptionpb: format proto Run proto formatter to keep option ordering consistent and satisfy CI proto formatting checks. Signed-off-by: Bisheng Huang <hbisheng@gmail.com> --------- Signed-off-by: Bisheng Huang <hbisheng@gmail.com> Co-authored-by: Jinpeng Zhang <zhangjinpeng@pingcap.com>

Commit:95b9c8b
Author:disksing
Committer:GitHub

resource_manager: add tiflash_r_u_v2 field (#1435) (#45) (cherry picked from commit 534bbfabf736d3a56982cbbe3aeb8532540614a1) Signed-off-by: disksing <i@disksing.com>

Commit:534bbfa
Author:disksing
Committer:GitHub

resource_manager: add tiflash_r_u_v2 field (#1435) Signed-off-by: disksing <i@disksing.com>

Commit:1ec7a9f
Author:lance6716
Committer:GitHub

*: reserve a range for downstream fork (#1431) * *: reserve a range for downstream fork Signed-off-by: lance6716 <lance6716@gmail.com> * reserve more fields Signed-off-by: lance6716 <lance6716@gmail.com> * reduce reserve range to [1000, 1200) Signed-off-by: lance6716 <lance6716@gmail.com> --------- Signed-off-by: lance6716 <lance6716@gmail.com>