Proto commits in pingcap/kvproto

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

Commit:623e58e
Author:Dongpo Liu
Committer:GitHub

coprocessor: add batch task merge and serial execution controls (#1497) Add explicit controls for batched coprocessor task results and execution: - Request.allow_batch_task_data_merge: the client declares it can consume a response whose batched tasks' results are merged into the single result carried by the response's data (e.g. the per-region sampling results of a batched analyze request). - StoreBatchTaskResponse.data_merged_into_response: the store acknowledges a merged task; the batch response carries no data of its own but still acknowledges the task and carries its execution details. - Request.execute_batch_tasks_serially: the client asks the store to run the primary task and all batched tasks one at a time, limiting within-request concurrency without guaranteeing execution order. A store that does not support merging keeps responding per task, and a client that does not set the merge request field keeps receiving per-task responses, so either side can upgrade first. Stores that do not support serial execution ignore the new request field and retain existing behavior. Signed-off-by: 0xPoe <poe.liu@pm.me>

The documentation is generated from this commit.

Commit:9327469
Author:Wenxuan
Committer:GitHub

feat(kvrpcpb): add typed shared-lock upgrade errors (#1495) * feat(kvrpcpb): add lock upgrade conflict error Add the typed LockUpgradeConflict message to kvrpcpb and expose it on KeyError as field 13. Regenerate the corresponding Go bindings and update proto.lock so downstream repos can depend on a stable machine-readable upgrade-conflict protocol shape. * kvrpcpb: add shared lock lost error Signed-off-by: Wenxuan Zhang <wenxuangm@gmail.com> * kvrpcpb: document shared lock loss semantics Signed-off-by: Wenxuan Zhang <wenxuangm@gmail.com> --------- Signed-off-by: Wenxuan Zhang <wenxuangm@gmail.com>

Commit:af1ad1b
Author:Jiong
Committer:GitHub

resource_usage_agent: add RocksDB block read count to Top SQL resource dimensions (#1498) * resource_usage_agent: add RocksDB block read count Signed-off-by: jiong-nba <jiongnba@gmail.com> * resource_usage_agent: document block read count semantics Signed-off-by: jiong-nba <jiongnba@gmail.com> --------- Signed-off-by: jiong-nba <jiongnba@gmail.com> Co-authored-by: ShuNing <nolouch@gmail.com>

Commit:543bb79
Author:Wenxuan
Committer:GitHub

pdpb: expose global barriers in GetGCState (#1516) * pdpb: expose global barriers in GetGCState Signed-off-by: Wenxuan Zhang <wenxuangm@gmail.com> * pdpb: explain global barrier include flag Signed-off-by: Wenxuan Zhang <wenxuangm@gmail.com> * pdpb: sync generated field comment Signed-off-by: Wenxuan Zhang <wenxuangm@gmail.com> --------- Signed-off-by: Wenxuan Zhang <wenxuangm@gmail.com>

Commit:fb4b0fd
Author:jiong-nba

resource_usage_agent: document block read count semantics Signed-off-by: jiong-nba <jiongnba@gmail.com>

Commit:db3cf69
Author:jiong-nba

resource_usage_agent: document block read count semantics Signed-off-by: jiong-nba <jiongnba@gmail.com>

Commit:93fe539
Author:Ti Chi Robot
Committer:GitHub

keyspacepb: add load keyspace by ID RPC (#1509) Signed-off-by: Ryan Leung <rleungx@gmail.com> Co-authored-by: Ryan Leung <rleungx@gmail.com>

Commit:07aa8c6
Author:Jianjun Liao
Committer:GitHub

set download speed limit with ttl (#1430) (#1513) Signed-off-by: Jianjun Liao <jianjun.liao@outlook.com>

Commit:dc53c46
Author:Ti Chi Robot
Committer:GitHub

kvrpcpb: add read-pool task details (#1502) (#1508) * This is an automated cherry-pick of #1502 Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io> * update --------- Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io> Co-authored-by: Chao Wang <cclcwangchao@hotmail.com>

Commit:059694a
Author:disksing
Committer:GitHub

keyspacepb: split namespace service (#1505) Signed-off-by: disksing <i@disksing.com>

Commit:7022f46
Author:disksing
Committer:GitHub

add API V3 keyspace identity protos (#1458) * api: add API V3 keyspace identity protos Signed-off-by: disksing <i@disksing.com> * api: update proto lock Signed-off-by: disksing <i@disksing.com> * api: keep TSO group response focused Signed-off-by: disksing <i@disksing.com> * api-v3: normalize keyspace identity fields Signed-off-by: disksing <i@disksing.com> * api: remove namespace from keyspace lookup Signed-off-by: disksing <i@disksing.com> * Use oneof for keyspace identity fields Signed-off-by: disksing <i@disksing.com> * Clarify keyspace pagination comment Signed-off-by: disksing <i@disksing.com> * Adjust DFS stat keyspace scope fields Signed-off-by: disksing <i@disksing.com> * Remove GC safe point response keyspace identity Signed-off-by: disksing <i@disksing.com> * Remove service safe point response keyspace identity Signed-off-by: disksing <i@disksing.com> * Merge keyspace group lookup by identity Signed-off-by: disksing <i@disksing.com> * Add namespace metadata APIs Signed-off-by: disksing <i@disksing.com> * Make keyspace meta identity backward compatible * Keep AutoIDRequest keyspace fields compatible * Use oneof for remaining keyspace identities Signed-off-by: disksing <i@disksing.com> * keyspacepb: support V3 identity in load-by-ID request Signed-off-by: disksing <i@disksing.com> * externalworkloadpb: support V3 keyspace identity Signed-off-by: disksing <i@disksing.com> * autoid: identify keyspace in rebase requests Signed-off-by: disksing <i@disksing.com> * resource-manager: support V3 keyspace identity Signed-off-by: disksing <i@disksing.com> * externalworkloadpb: use oneof for keyspace identity Signed-off-by: disksing <i@disksing.com> * pdpb: remove unused TSO keyspace identity Signed-off-by: disksing <i@disksing.com> * Apply suggestion from @sunxiaoguang --------- Signed-off-by: disksing <i@disksing.com> Co-authored-by: disksing <disksing@macmini.local> Co-authored-by: Xiaoguang Sun <sunxiaoguang@users.noreply.github.com>

Commit:64fac48
Author:disksing

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

Commit:57fb9c0
Author:disksing

resource-manager: support V3 keyspace identity Signed-off-by: disksing <i@disksing.com>

Commit:e30d0e9
Author:disksing

autoid: identify keyspace in rebase requests Signed-off-by: disksing <i@disksing.com>

Commit:ec90f51
Author:disksing

externalworkloadpb: support V3 keyspace identity Signed-off-by: disksing <i@disksing.com>

Commit:bd6c2b1
Author:disksing

keyspacepb: support V3 identity in load-by-ID request Signed-off-by: disksing <i@disksing.com>

Commit:b952ba8
Author:disksing

Merge remote-tracking branch 'origin/master' into task4/apiv3-identity-oneof # Conflicts: # pkg/kvrpcpb/kvrpcpb.pb.go

Commit:683dad8
Author:Chao Wang
Committer:GitHub

kvrpcpb: add read-pool task details (#1502) * kvrpcpb: add read_pool_task_details to trace read pool metrics:w * address comment

Commit:fd32127
Author:disksing

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

Commit:3631780
Author:JmPotato
Committer:GitHub

coprocessor: backport paging limits to release-nextgen-202603 (#1501) * copr: add max_keys_read coprocessor Request (#1447) Signed-off-by: artem_danilov <artem.danilov@airbnb.com> (cherry picked from commit bb322278e9e549252dcbb6acc73071afd9908095) Signed-off-by: JmPotato <github@ipotato.me> * 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> (cherry picked from commit a15c348f8713e5c492b6dfb41224c464b5824979) Signed-off-by: JmPotato <github@ipotato.me> --------- Signed-off-by: artem_danilov <artem.danilov@airbnb.com> Signed-off-by: JmPotato <github@ipotato.me> Co-authored-by: Artem Danilov <tema.danilov@gmail.com>

Commit:2260772
Author:hongyunyan
Committer:GitHub

cdcpb: add CDC scan priority (#1493) * cdcpb: add scan priority to change data request * cdcpb: remove changefeed id from scan request Signed-off-by: hongyunyan <649330952@qq.com> * cdcpb: regenerate go binding for scan priority Signed-off-by: hongyunyan <649330952@qq.com> --------- Signed-off-by: hongyunyan <649330952@qq.com>

Commit:91eb3e4
Author:Jianjun Liao
Committer:GitHub

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

Commit:78af7ed
Author:jiong

resource_usage_agent: add RocksDB block read count Signed-off-by: jiong <jiong@jiongdeMacBook-Pro.local>

Commit:5fa7b0c
Author:jiong-nba

resource_usage_agent: add RocksDB block read count Signed-off-by: jiong-nba <jiongnba@gmail.com>

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)

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

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