Skip to content

executor: expose read pool task details in diagnostics (#69971) - #70067

Merged
ti-chi-bot[bot] merged 2 commits into
pingcap:release-nextgen-202603from
ti-chi-bot:cherry-pick-69971-to-release-nextgen-202603
Jul 28, 2026
Merged

executor: expose read pool task details in diagnostics (#69971)#70067
ti-chi-bot[bot] merged 2 commits into
pingcap:release-nextgen-202603from
ti-chi-bot:cherry-pick-69971-to-release-nextgen-202603

Conversation

@ti-chi-bot

@ti-chi-bot ti-chi-bot commented Jul 25, 2026

Copy link
Copy Markdown
Member

This is an automated cherry-pick of #69971

What problem does this PR solve?

Issue Number: close #69970

Problem Summary:

TiDB does not expose read-pool task scheduling and execution details, making it difficult to diagnose fairness scheduling latency from SQL diagnostics.

What changed and how does it work?

  • Upgrade kvproto and use the client-go implementation from txnkv: add readPoolTaskDetails to SnapshotRuntimeStats tikv/client-go#2025.
  • Propagate read-pool task details for ordinary Cop, PointGet, and BatchPointGet requests.
  • Add READ_POOL_TASK_DETAILS to INFORMATION_SCHEMA.SLOW_QUERY.
  • Include read_pool:{...} in EXPLAIN ANALYZE runtime statistics.
  • Add an embedded-unistore response hook and end-to-end coverage for Get, BatchGet, and Cop responses.

Example outputs

The following examples were captured from actual SQL execution against embedded unistore.

EXPLAIN ANALYZE

EXPLAIN ANALYZE
SELECT /* read_pool_cop */ *
FROM t_read_pool_details
WHERE v >= 10;
id                 estRows   actRows  task       access object              execution info                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     operator info                            memory     disk
TableReader_7      3333.33   3        root                                  time:137.2µs, open:16.8µs, close:2.38µs, loops:2, RU:0.48, cop_task: {num: 1, max: 91.3µs, proc_keys: 0, copr_cache_hit_ratio: 0.00, build_task_duration: 3.13µs, max_distsql_concurrency: 1}, fetch_resp_duration: 103µs, rpc_info:{Cop:{num_rpc:1, total_time:81.8µs}}                                                                                                                                                                                                          data:Selection_6                         357 Bytes  N/A
└─Selection_6       3333.33   3        cop[tikv]                              tikv_task:{time:64.6µs, loops:0}, read_pool:{tasks:1, poll_count:{total:4, avg:4, max:4, min:4}, dispatch_count:{total:2, max:2, min:2}, task_wall_time:{total:20ms, avg:20ms, max:20ms, min:20ms}, queue_wait:{total:6ms, avg:3ms, max:4ms, min:2ms}, wake_wait:{total:4ms, avg:4ms, max:4ms, min:4ms}, fair_queue:{enabled:true, waited_task_slices:{total:6, avg:3, max:4, min:2}}, poll_cpu:{total:8ms, avg:2ms, max:3ms, min:1ms}, poll_wall:{total:12ms, avg:3ms, max:5ms, min:2ms}}  ge(test.t_read_pool_details.v, 10)     N/A        N/A
  └─TableFullScan_5 10000.00  3        cop[tikv]  table:t_read_pool_details  tikv_task:{time:64.6µs, loops:0}                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    keep order:false, stats:pseudo           N/A        N/A

Slow log

# Time: 2026-07-21T19:27:00.00983+08:00
# Txn_start_ts: 467830890826039300
# Conn_ID: 1
# Query_time: 0.000165249
# Parse_time: 0.000005791
# Compile_time: 0.000058041
# Rewrite_time: 0.000013583
# Optimize_time: 0.000026084 Opt_logical: 0.000012125 Opt_physical: 0.00001275 Opt_binding_match: 0.000003 Opt_stats_sync_wait: 0 Opt_stats_derive: 0.000006167
# Wait_TS: 0.000005125
# Cop_time: 0.000055708 Request_count: 1 Read_pool_task_details: {tasks:1, poll_count:{total:4, avg:4, max:4, min:4}, dispatch_count:{total:2, max:2, min:2}, task_wall_time:{total:20ms, avg:20ms, max:20ms, min:20ms}, queue_wait:{total:6ms, avg:3ms, max:4ms, min:2ms}, wake_wait:{total:4ms, avg:4ms, max:4ms, min:4ms}, fair_queue:{enabled:true, waited_task_slices:{total:6, avg:3, max:4, min:2}}, poll_cpu:{total:8ms, avg:2ms, max:3ms, min:1ms}, poll_wall:{total:12ms, avg:3ms, max:5ms, min:2ms}}
# DB: test
# Is_internal: false
# Digest: 9303e433dd7ac532fb4bfa21f9f65a819b19267cb37e2392ecd02ecc5cb392dc
# Stats: t_read_pool_details:stats_meta_version=pseudo[realtime_count=10000;modify_count=0]
# Num_cop_tasks: 1
# Cop_proc_avg: 0 Cop_proc_addr: store1
# Cop_wait_avg: 0 Cop_wait_addr: store1
# Mem_max: 357
# Prepared: false
# Plan_from_cache: false
# Plan_from_binding: false
# Has_more_results: false
# KV_total: 0.000050041
# PD_total: 0.000000083
# Backoff_total: 0
# Unpacked_bytes_sent_tikv_total: 538
# Unpacked_bytes_received_tikv_total: 178
# Unpacked_bytes_sent_tikv_cross_zone: 0
# Unpacked_bytes_received_tikv_cross_zone: 0
# Unpacked_bytes_sent_tiflash_total: 0
# Unpacked_bytes_received_tiflash_total: 0
# Unpacked_bytes_sent_tiflash_cross_zone: 0
# Unpacked_bytes_received_tiflash_cross_zone: 0
# Write_sql_response_total: 0
# Result_rows: 3
# Succ: true
# IsExplicitTxn: false
# IsSyncStatsFailed: false
# Plan: tidb_decode_plan('wgfwqjAJMzFfNwkwCTMzMzMuMzMJZGF0YTpTZWxlY3Rpb25fNgkzCXRpbWU6NzEuMsK1cywgb3Blbjo3wrVzLCBjbG9zZTo4MzRucywgbG9vcHM6MiwgY29wX3Rhc2s6IHtudW06IDEsIG1heDogNTIuNsK1cywgcHJvY19rZXlzOiAwLCBjb3ByX2NhY2hlX2hpdF9yYXRpbzogMC4wMCwgYnVpbGRfdGFza19kdQUaGG46IDEuMjUFishtYXhfZGlzdHNxbF9jb25jdXJyZW5jeTogMX0sIGZldGNoX3Jlc3BfZHVyYXRpb246IDUJgYBycGNfaW5mbzp7Q29wOntudW1fcnBjOjEsIHRvdGFsX3QB8XQ1MMK1c319CTM1NyBCeXRlcwlOL0EKMQkxXzYJMV85MaBnZSh0ZXN0LnRfcmVhZF9wb29sX2RldGFpbHMudiwgMTApCTMJdGlrdikVAHsFXRA0Ni4xwiFDKTYMMH0sIBU+GDp7dGFza3MBjwhwb2wB2xB1bnQ6ewWbGDo0LCBhdmcBByFUPDQsIG1pbjo0fSwgZGlzcGEB8wBjLi8ABDIsBSgBBxhpbjoyfSwgAVwQX3dhbGwJ5gB7CVcMMjBtcwlaCQoBXQ0KATg4MG1zfSwgcXVldWVfd2FpFY4ANhE2ADMBCQE1ADQFCQE0BTMId2FrNjIABSAFwgUpBGF4CRIBMgA0BTIQZmFpcl8Fajw6e2VuYWJsZWQ6dHJ1ZSwgAXkEZWQlRhhfc2xpY2VzEb4ANgm7ADMJ7S0VDDJ9fSwtQQRwdREqADgBdhBhdmc6MgEJAX8JugxpbjoxBX8lciEfETIAMQUqATMJKgxheDo1BTwN5AB9QRcBBBgKMgk0M181RRwYMTAwMDAJdAG+BDp0RhgCiCwga2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvCTMJgjECIAlOL0EJTi9BCg==')
# Plan_digest: ccf4940ae2b5620eee56082e864912acc1bdbc6d080e3dccf96e9fc916e14ae3
# Binary_plan: tidb_decode_binary_plan('sAiYCqsICg1UYWJsZVJlYWRlcl83EuEFCgtTZWxlY3Rpb25fNhKhAQoPBSJQRnVsbFNjYW5fNSEBAAAAOA1PQSkAAQHweYjDQDADOAJAAkodChsKBHRlc3QSE3RfcmVhZF9wb29sX2RldGFpbHNSHmtlZXAgb3JkZXI6ZmFsc2UsIHN0YXRzOnBzZXVkb2ohdGlrdl90YXNrOnt0aW1lOjQ2LjHCtXMsIGxvb3BzOjB9cP///////////wF4////CQwEASEBhjDqbVFBKauqqqqqCqpACZAQUiJnZSgBjwAuSo4AMC52LCAxMClq2wN0aWt2dgAELCAVzIg6e3Rhc2tzOjEsIHBvbGxfY291bnQ6e3RvdGFsOjQsIGF2ZwEHCG1heAUHOGluOjR9LCBkaXNwYXRjaDYvAAQyLAUoAQcYaW46Mn0sIAFcJF93YWxsX3RpbWURVwwyMG1zCVoJCgFdDQoBODgwbXN9LCBxdWV1ZV93YWkVjgA2ETYAMwEJATUANAUJATQFMwh3YWs2MgAFIAXCBSkBxAUJAcYFMhBmYWlyXwVqPDp7ZW5hYmxlZDp0cnVlLCABeQhlZF8FwRRzbGljZXMRvgA2CbsAMwntDDQsIG0BgQh9fSwtQQRwdREqADgBbRBhdmc6MgEJAX8JugxpbjoxBX8lciEfETIAMQUqATMJKgxheDo1BTwBYwhtc31uMAIIYE8UMjACJAFAAVIQZGF0YTpd/gRaLSWJEDcxLjLCQYgUb3Blbjo3BQssY2xvc2U6ODM0bnMsTaAYMmLOAWNvcCUGIDoge251bTogMQn4ECA1Mi42BTi4cHJvY19rZXlzOiAwLCBjb3ByX2NhY2hlX2hpdF9yYXRpbzogMC4wMCwgYnVpbGQFTQhfZHUFGhhuOiAxLjI1BUgkbWF4X2Rpc3RzcUGGQG5jdXJyZW5jeTogMX0sIGZlQW4McmVzcB07ADUJgTRycGNfaW5mbzp7Q29wOgGmDF9ycGNB0kXGAF8F8gw1MMK1IUA45QJ4////////////ARgB')
# Resource_group: default
# Request_unit_read: 0.476373291015625
# Storage_from_kv: true
# Storage_from_mpp: false
# Request_unit_v2: 1.26
# Request_unit_v2_detail: total_ru:1.26, tidb_ru:1.26, tikv_ru:0.00, tiflash_ru:0.00, executor_l2:{TableReaderExecutor:3}, plan_cnt:1, plan_derive_stats_paths:1, session_parser_total:1, txn_cnt:1
select /* read_pool_cop */ * from t_read_pool_details where v >= 10;

INFORMATION_SCHEMA.SLOW_QUERY

SELECT
    query,
    cop_time,
    request_count,
    read_pool_task_details
FROM information_schema.slow_query
WHERE query =
    'select /* read_pool_batch_point_get */ * from t_read_pool_details where id in (1, 2);'
ORDER BY time DESC
LIMIT 1;
query                                                                                   cop_time  request_count  read_pool_task_details
select /* read_pool_batch_point_get */ * from t_read_pool_details where id in (1, 2);   0         0              {tasks:1, poll_count:{total:4, avg:4, max:4, min:4}, dispatch_count:{total:2, max:2, min:2}, task_wall_time:{total:20ms, avg:20ms, max:20ms, min:20ms}, queue_wait:{total:6ms, avg:3ms, max:4ms, min:2ms}, wake_wait:{total:4ms, avg:4ms, max:4ms, min:4ms}, fair_queue:{enabled:true, waited_task_slices:{total:6, avg:3, max:4, min:2}}, poll_cpu:{total:8ms, avg:2ms, max:3ms, min:1ms}, poll_wall:{total:12ms, avg:3ms, max:5ms, min:2ms}}

Check List

Tests

  • Unit test
  • Integration test
  • Manual test
  • No need to test

Side effects

  • Performance regression: Consumes more CPU
  • Performance regression: Consumes more Memory
  • Breaking backward compatibility

Documentation

  • Affects user behaviors
  • Contains syntax changes
  • Contains variable changes
  • Contains experimental features
  • Changes MySQL compatibility

Release note

Expose read-pool task scheduling and execution details in slow-query diagnostics and EXPLAIN ANALYZE output.

Tests

  • GOWORK=off ./tools/check/failpoint-go-test.sh pkg/executor -run '^TestReadPoolTaskDetailsInDiagnostics$' -count=1
  • GOWORK=off go test -tags=intest,deadlock ./pkg/util/execdetails -run '^(TestString|TestCopRuntimeStats)$' -count=1
  • GOWORK=off go test -tags=intest,deadlock ./pkg/infoschema/test/clustertablestest -run '^TestSlowQuery$' -count=1

Summary by CodeRabbit

  • New Features
    • Added read-pool task details to execution diagnostics, including information_schema slow-query records and EXPLAIN ANALYZE, with stats merged across coprocessor and point/batch lookups.
  • Bug Fixes
    • Ensured read-pool task details are properly collected and preserved when composing runtime statistics, and added missing mapping so the field is correctly displayed in diagnostics.
  • Tests
    • Added diagnostics coverage for read_pool_task_details and updated slow-query expectation data.
  • Chores
    • Updated Go/TiKV dependency pins.

@ti-chi-bot ti-chi-bot added do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. release-note Denotes a PR that will be considered when it comes time to generate release notes. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. type/cherry-pick-for-release-nextgen-202603 labels Jul 25, 2026
@ti-chi-bot

Copy link
Copy Markdown
Member Author

@lcwangchao This PR has conflicts, I have hold it.
Please resolve them or ask others to resolve them, then comment /unhold to remove the hold label.

@ti-chi-bot

ti-chi-bot Bot commented Jul 25, 2026

Copy link
Copy Markdown

@ti-chi-bot: ## If you want to know how to resolve it, please read the guide in TiDB Dev Guide.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository.

@coderabbitai

coderabbitai Bot commented Jul 25, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro Plus

Run ID: d34240ab-cb29-4d83-95c9-0afc19b868ae

📥 Commits

Reviewing files that changed from the base of the PR and between c85ef3a and 3ad4b69.

⛔ Files ignored due to path filters (1)
  • go.sum is excluded by !**/*.sum
📒 Files selected for processing (15)
  • DEPS.bzl
  • go.mod
  • pkg/distsql/select_result.go
  • pkg/executor/batch_point_get.go
  • pkg/executor/point_get.go
  • pkg/executor/slow_query.go
  • pkg/executor/slow_query_sql_test.go
  • pkg/executor/slow_query_test.go
  • pkg/infoschema/tables.go
  • pkg/infoschema/test/clustertablestest/tables_test.go
  • pkg/store/copr/coprocessor.go
  • pkg/store/mockstore/unistore/rpc.go
  • pkg/util/execdetails/execdetails.go
  • pkg/util/execdetails/execdetails_test.go
  • pkg/util/execdetails/runtime_stats.go
🚧 Files skipped from review as they are similar to previous changes (15)
  • go.mod
  • DEPS.bzl
  • pkg/executor/slow_query.go
  • pkg/executor/batch_point_get.go
  • pkg/executor/slow_query_sql_test.go
  • pkg/executor/point_get.go
  • pkg/store/mockstore/unistore/rpc.go
  • pkg/util/execdetails/runtime_stats.go
  • pkg/infoschema/tables.go
  • pkg/util/execdetails/execdetails_test.go
  • pkg/infoschema/test/clustertablestest/tables_test.go
  • pkg/executor/slow_query_test.go
  • pkg/distsql/select_result.go
  • pkg/store/copr/coprocessor.go
  • pkg/util/execdetails/execdetails.go

📝 Walkthrough

Walkthrough

The change adds read-pool task details to execution statistics, propagates them through coprocessor and point-get paths, and exposes them in slow-query and EXPLAIN ANALYZE diagnostics. Related kvproto and TiKV dependency pins are updated.

Changes

Read-pool diagnostics

Layer / File(s) Summary
Execution statistics contracts
DEPS.bzl, go.mod, pkg/util/execdetails/*
Execution detail structures, runtime-stat aggregation, serialization, and tests now carry read-pool task details; related dependency revisions are updated.
Coprocessor and executor propagation
pkg/store/copr/coprocessor.go, pkg/distsql/select_result.go, pkg/executor/point_get.go, pkg/executor/batch_point_get.go
Coprocessor responses and executor close paths merge read-pool details into runtime and statement execution statistics.
Slow-query diagnostics and validation
pkg/executor/slow_query.go, pkg/infoschema/tables.go, pkg/store/mockstore/unistore/rpc.go, pkg/executor/*test.go, pkg/infoschema/test/...
The new diagnostic field is parsed and exposed in slow-query results and EXPLAIN ANALYZE, with injected-response coverage and updated expectations.

Estimated code review effort: 4 (Complex) | ~45 minutes

Sequence Diagram(s)

sequenceDiagram
  participant UnistoreRPC
  participant Coprocessor
  participant RuntimeStats
  participant StmtCtx
  participant SlowQuery
  UnistoreRPC->>Coprocessor: Return read-pool execution details
  Coprocessor->>RuntimeStats: Record read-pool task details
  RuntimeStats->>StmtCtx: Merge execution details
  StmtCtx->>SlowQuery: Emit read_pool_task_details
Loading

Possibly related PRs

  • pingcap/tidb#69971: Propagates the same read-pool details through runtime statistics and diagnostic outputs.

Poem

I’m a rabbit carrying metrics bright,
Through cop tasks hopping left and right.
Slow logs now record each trail,
Explain plans tell the same tale.
Read-pool details, neatly shown!

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title is concise and matches the main change: exposing read pool task details in diagnostics.
Description check ✅ Passed The PR description follows the template and includes the required issue number, summary, tests, side effects, docs, and release note.
Linked Issues check ✅ Passed The changes implement read-pool metrics exposure for fairness scheduling via diagnostics and EXPLAIN ANALYZE, matching #69970.
Out of Scope Changes check ✅ Passed The dependency updates, hooks, and tests all support the read-pool diagnostics work and do not appear unrelated.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
go.mod (1)

1-1: 🎯 Functional Correctness | 🔴 Critical | ⚡ Quick win

Unresolved git merge-conflict markers across six files — must be resolved before merge.

Literal <<<<<<< HEAD / ======= / >>>>>>> markers remain in the diff. This breaks go.mod parsing (blocking every Go build), Bazel dependency resolution, and Go compilation of the affected source/test files. This matches the PR's own hold status ("merge conflicts... resolve conflicts before /unhold"), but each site still needs explicit resolution:

  • go.mod#L103-107: resolve the kvproto version conflict, keeping the incoming (newer) pseudo-version to match DEPS.bzl.
  • go.mod#L130-136: resolve the client-go/pd/client conflict; confirm the pd/client pin isn't an unintended downgrade (see separate verification comment).
  • DEPS.bzl#L3522-3529: resolve the kvproto sum/version conflict to match the resolved go.mod value.
  • DEPS.bzl#L4214-4221: resolve the client-go/v2 sum/version conflict to match the resolved go.mod value.
  • pkg/infoschema/tables.go#L937-943: resolve by keeping the incoming side's 4 new column definitions (IA remote read + ReadPoolTaskDetailsStr).
  • pkg/infoschema/test/clustertablestest/tables_test.go#L448-454: keep the incoming side's 4 added placeholder values to match the resolved column list in tables.go.
  • pkg/infoschema/test/clustertablestest/tables_test.go#L551-557: same as above, second expected row.
  • pkg/executor/slow_query_test.go#L193-197: keep the incoming side's expanded CSV fragment (4,4096,0.015,,,,) matching the new columns.
  • pkg/executor/slow_query_test.go#L220-224: same as above, second occurrence.
  • pkg/executor/slow_query_test.go#L292-300: keep the incoming side's shifted indices ([45]/[46]) consistent with the 4 added columns.
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@go.mod` at line 1, Resolve all remaining merge-conflict markers across the
listed dependency, schema, and test files. In go.mod and DEPS.bzl, retain the
incoming newer kvproto and matching client-go/v2 dependency values, verifying
the pd/client pin is not downgraded; in tables.go retain the four incoming
column definitions, and update the corresponding clustertablestest expected rows
and slow_query_test CSV fragments and indices to match them. Remove every
conflict marker and ensure all dependency and test values remain consistent.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@go.mod`:
- Around line 103-107: Resolve the merge conflicts in go.mod by removing all
conflict markers and retaining the intended single github.com/pingcap/kvproto
dependency version at both conflicted sections. Verify the resulting go.mod is
valid and contains no remaining <<<<<<<, =======, or >>>>>>> markers.

In `@pkg/distsql/select_result.go`:
- Around line 405-422: Resolve the merge conflict in the error-handling block of
the select-result flow by removing all literal conflict markers while preserving
the intended resultSubset-based CopExecDetails and ReadPoolTaskDetails merging
before return errors.Trace(err). Keep the existing guard and CopRuntimeStats
handling intact, including skipping updateCopRuntimeStats on this path.

---

Outside diff comments:
In `@go.mod`:
- Line 1: Resolve all remaining merge-conflict markers across the listed
dependency, schema, and test files. In go.mod and DEPS.bzl, retain the incoming
newer kvproto and matching client-go/v2 dependency values, verifying the
pd/client pin is not downgraded; in tables.go retain the four incoming column
definitions, and update the corresponding clustertablestest expected rows and
slow_query_test CSV fragments and indices to match them. Remove every conflict
marker and ensure all dependency and test values remain consistent.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 6e3da196-92f1-498a-a985-8d159c82f87a

📥 Commits

Reviewing files that changed from the base of the PR and between 09aa743 and 16c5456.

⛔ Files ignored due to path filters (1)
  • go.sum is excluded by !**/*.sum
📒 Files selected for processing (15)
  • DEPS.bzl
  • go.mod
  • pkg/distsql/select_result.go
  • pkg/executor/batch_point_get.go
  • pkg/executor/point_get.go
  • pkg/executor/slow_query.go
  • pkg/executor/slow_query_sql_test.go
  • pkg/executor/slow_query_test.go
  • pkg/infoschema/tables.go
  • pkg/infoschema/test/clustertablestest/tables_test.go
  • pkg/store/copr/coprocessor.go
  • pkg/store/mockstore/unistore/rpc.go
  • pkg/util/execdetails/execdetails.go
  • pkg/util/execdetails/execdetails_test.go
  • pkg/util/execdetails/runtime_stats.go

Comment thread go.mod Outdated
Comment thread pkg/distsql/select_result.go
@ti-chi-bot

Copy link
Copy Markdown
Member Author

Cherry-pick conflicts appear resolved; removing the do-not-merge/hold label.

@ti-chi-bot ti-chi-bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jul 25, 2026
@lcwangchao

Copy link
Copy Markdown
Collaborator

/unhold

@lcwangchao

Copy link
Copy Markdown
Collaborator

/retest

7 similar comments
@lcwangchao

Copy link
Copy Markdown
Collaborator

/retest

@lcwangchao

Copy link
Copy Markdown
Collaborator

/retest

@dillon-zheng

Copy link
Copy Markdown
Contributor

/retest

@dillon-zheng

Copy link
Copy Markdown
Contributor

/retest

@lcwangchao

Copy link
Copy Markdown
Collaborator

/retest

@dillon-zheng

Copy link
Copy Markdown
Contributor

/retest

@dillon-zheng

Copy link
Copy Markdown
Contributor

/retest

@ti-chi-bot ti-chi-bot Bot added the needs-1-more-lgtm Indicates a PR needs 1 more LGTM. label Jul 27, 2026
@ti-chi-bot ti-chi-bot Bot added approved lgtm and removed needs-1-more-lgtm Indicates a PR needs 1 more LGTM. labels Jul 27, 2026
@ti-chi-bot

ti-chi-bot Bot commented Jul 27, 2026

Copy link
Copy Markdown

[LGTM Timeline notifier]

Timeline:

  • 2026-07-27 03:17:45.249369799 +0000 UTC m=+1806851.285464865: ☑️ agreed by cfzjywxk.
  • 2026-07-27 03:18:23.131957162 +0000 UTC m=+1806889.168052208: ☑️ agreed by D3Hunter.

@D3Hunter

Copy link
Copy Markdown
Contributor

/retest

@ti-chi-bot

ti-chi-bot Bot commented Jul 27, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: cfzjywxk, D3Hunter, lcwangchao

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@dillon-zheng

Copy link
Copy Markdown
Contributor

/retest

1 similar comment
@dillon-zheng

Copy link
Copy Markdown
Contributor

/retest

@lcwangchao

Copy link
Copy Markdown
Collaborator

/hold

@ti-chi-bot ti-chi-bot Bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jul 27, 2026
@dillon-zheng

Copy link
Copy Markdown
Contributor

/test pull-unit-test-next-gen

@codecov

codecov Bot commented Jul 27, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 79.66102% with 12 lines in your changes missing coverage. Please review.
⚠️ Please upload report for BASE (release-nextgen-202603@2c22c61). Learn more about missing BASE report.

Additional details and impacted files
@@                     Coverage Diff                     @@
##             release-nextgen-202603     #70067   +/-   ##
===========================================================
  Coverage                          ?   76.1963%           
===========================================================
  Files                             ?       1937           
  Lines                             ?     541273           
  Branches                          ?          0           
===========================================================
  Hits                              ?     412430           
  Misses                            ?     128843           
  Partials                          ?          0           
Flag Coverage Δ
unit 76.1963% <79.6610%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

Components Coverage Δ
dumpling 61.4164% <0.0000%> (?)
parser ∅ <0.0000%> (?)
br 48.7314% <0.0000%> (?)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@lcwangchao

Copy link
Copy Markdown
Collaborator

/retest

@lcwangchao

Copy link
Copy Markdown
Collaborator

/unhold

@ti-chi-bot ti-chi-bot Bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jul 28, 2026
Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io>
@lcwangchao
lcwangchao force-pushed the cherry-pick-69971-to-release-nextgen-202603 branch from c85ef3a to 3ad4b69 Compare July 28, 2026 02:11
@lcwangchao

Copy link
Copy Markdown
Collaborator

/retest

@ti-chi-bot
ti-chi-bot Bot merged commit fb769a3 into pingcap:release-nextgen-202603 Jul 28, 2026
18 checks passed
@ti-chi-bot
ti-chi-bot Bot deleted the cherry-pick-69971-to-release-nextgen-202603 branch July 28, 2026 03:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved lgtm release-note Denotes a PR that will be considered when it comes time to generate release notes. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. type/cherry-pick-for-release-nextgen-202603

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants