Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
72 commits
Select commit Hold shift + click to select a range
e53c50c
*: serialize failpoint state toggles and tighten bazel_prepare gate (…
D3Hunter May 22, 2026
481ed72
br: pitr from replication storage (#67730)
Leavrth May 22, 2026
a9267db
executor, distsql: reduce the log of dispatching mpp tasks (#68041)
gengliqi May 22, 2026
324a883
OWNERS: Auto Sync OWNERS files from community membership (#68621)
ti-chi-bot May 24, 2026
5f20734
*: add skill for critical evaluation of prescribed change instruction…
D3Hunter May 25, 2026
02ad01d
planner: prefer MPP UnionAll when MPP is enforced (#68409)
hawkingrei May 25, 2026
f02e704
lightning: preserve worker errors after doImport workerpool release (…
D3Hunter May 25, 2026
52b9a88
parser, bindinfo: normalize binding parentheses with AST restore (#68…
hawkingrei May 25, 2026
74649ba
session: guard next-gen user keyspace bootstrap by target version (#6…
D3Hunter May 25, 2026
8b80ab7
expression: fix ANY_VALUE BIT string evaluation (#68442)
hawkingrei May 25, 2026
5ee7f62
planner: keep BIGINT join-key casts on lossy compare path (#68626)
hawkingrei May 26, 2026
c6eaccf
*: restore views without placeholder tables (#68186)
haiboumich May 26, 2026
d650480
br: update safepoint metric after it is persist (#68035)
Leavrth May 26, 2026
d0ba8b7
planner: CAST to BINARY correctness issue (#68498)
terry1purcell May 26, 2026
0c98567
dxf: add StepPrepared prepare-mode transition in scheduler framework …
D3Hunter May 26, 2026
8a5ca02
planner: try top-2 seeds in advanced greedy join reorder (#68340)
AilinKid May 26, 2026
74959c6
ttl: trigger startup GC when job manager becomes leader (#68599)
ystaticy May 26, 2026
a09db00
ddl: validate partial indexes for foreign keys (#68628)
YangKeao May 26, 2026
5b35a62
pkg/ddl/tests/tiflash: stabilize flaky TestTiFlashProgressAfterAvaila…
flaky-claw May 27, 2026
daf0a27
executor: fix a performance regression on IndexLookUp queries with sm…
gengliqi May 27, 2026
beb12a7
br: encode S3 object lock status in base64ify output (#68552)
YuJuncen May 27, 2026
81ec977
pd: replace client with NewClientWithAPIContext (#58561)
lhy1024 May 28, 2026
066d1c4
ttl: stabilize GC integration tests against background TTL GC race (#…
D3Hunter May 28, 2026
a92976d
ttl: stabilize TestRowToTTLTask against task GC race (#68701)
D3Hunter May 28, 2026
7727603
dumpling: reject --rows/--filesize templates without {{.Index}} (#68612)
D3Hunter May 28, 2026
11b8149
planner: fix ANALYZE TABLE panic on stored generated column with inde…
xhebox May 28, 2026
1c3f9eb
dxf: batch cancel pending/running subtasks in CancelSubtask (#68718)
D3Hunter May 29, 2026
78f3dfa
planner: eliminate inner distinct aggregation for correlated IN Apply…
AilinKid May 30, 2026
351a32b
pkg/executor: fix concurrent SessionVars.systems map access during AN…
mjonss May 30, 2026
50bad68
planner: fix null-reject proof for WEEK and YEARWEEK (#68817)
winoros May 31, 2026
99e1c67
executor: fix slow log push down bug (#68765)
lance6716 Jun 1, 2026
147980c
executor: cache RUv2 metadata on executor and skip per-Next drain (#6…
AmoebaProtozoa Jun 1, 2026
5a38505
*: improve Starter activation metadata and shutdown coordination (#68…
ChangRui-Ryan Jun 1, 2026
a9add5c
util, executor: optimize RUv2 point-get hot path (#68119)
disksing Jun 1, 2026
260d374
tools: fail fast for read-only failpoint state (#68847)
winoros Jun 1, 2026
551d10a
parser: support MySQL 8.0.19+ INSERT row alias syntax (#67920)
paultyng Jun 1, 2026
2310c3d
planner: support pushing Limit and TopN to individual partial paths o…
time-and-fate Jun 2, 2026
1677c91
*: add keyspace observability labels (#68836)
zeminzhou Jun 2, 2026
f0db696
planner: fix time range extraction when time column is on the right s…
panmuyun Jun 2, 2026
628b31c
importer: fix `table_import` to look at real table size instead of co…
vuphamwa-del Jun 2, 2026
a6fb738
OWNERS: add gengliqi to executor approver (#68869)
windtalker Jun 2, 2026
41f830f
importinto: integrate async prepare flow for nextgen (#68668)
D3Hunter Jun 2, 2026
9f09310
*: Update kvproto, pd client, client-go to follow GC API changes (#68…
MyonKeminta Jun 2, 2026
72e854a
br: two-pass pre-split for PiTR log restore (#67310)
vldmit Jun 3, 2026
b254c43
*: parser support for MySQL dual passwords (RETAIN CURRENT PASSWORD /…
takaidohigasi Jun 3, 2026
a2a22ec
build: upgrade Go to 1.25.10 (#68902)
wshwsh12 Jun 3, 2026
fea6394
*: support mpp request columnar stores (#67935)
yongman Jun 3, 2026
bea24f4
OWNERS: update dumpformat and dxf approvers (#68891)
D3Hunter Jun 3, 2026
279a933
sessionctx: avoid restoring ROW_COUNT as affected rows (#68868)
nolouch Jun 3, 2026
c1faae7
planner: push sequence through aggregation (#68613)
winoros Jun 3, 2026
5b87f83
br: add subscription idle timeout (#68412)
Leavrth Jun 3, 2026
f92cf95
planner, executor: fix ANALYZE TABLE panic when indexed generated col…
xhebox Jun 3, 2026
4f140a2
lightning: fix write limit test timing flake (#68916)
D3Hunter Jun 3, 2026
0c62aa5
store: mark TiDB requests for max-ts validation (#68779)
ekexium Jun 3, 2026
e70762e
planner: build sequence for set-op CTEs (#68851)
winoros Jun 3, 2026
2c307d6
util/stmtsummary: add tidb_stmt_summary_group_by_user (#68512)
nolouch Jun 3, 2026
6c43104
util/stmtsummary: add tidb_stmt_summary_persist_evicted (#68513)
nolouch Jun 3, 2026
f9faeaf
dxf: resolve task store before task execution (#68824)
D3Hunter Jun 4, 2026
cc53723
br: let `restore log` check `--restore-ts` instead of the full backup…
YuJuncen Jun 4, 2026
2967bd8
crossks: add runtime handles and support aquire/release (#68890)
D3Hunter Jun 4, 2026
032f5ac
session: guard process info StmtCtx reads (#68949)
wshwsh12 Jun 4, 2026
154a10c
importinto: add Starter import data size limit (#68924)
D3Hunter Jun 5, 2026
bf16049
OWNERS: nominate some big contributors as parser approver (#68970)
qw4990 Jun 5, 2026
6c52f18
planner: support "explain explore replayer" syntax (#68927)
qw4990 Jun 5, 2026
e3d8d1b
server: harden parseBinaryParams against malformed length-encoded val…
expxiaoli Jun 5, 2026
9197c8b
expression: fix isBinCollation to recognize utf8mb4_0900_bin (#68846)
tiancaiamao Jun 5, 2026
f8788aa
expression: fix NO_BACKSLASH_ESCAPES in generated columns (#67743)
xhebox Jun 5, 2026
bb5cfc0
br: fix PiTR meta KV OOM by copying entries and deduplicating mDB key…
vldmit Jun 5, 2026
d7ca770
planner: avoid dotted schema table key collisions (#68303)
zimulala Jun 5, 2026
5e0c630
executor, execdetails: pre-resolve hot L1 RUv2 recorders (#68882)
AmoebaProtozoa Jun 5, 2026
d568a85
planner: support using nested `IN` to build IndexMerge path (#68962)
time-and-fate Jun 6, 2026
0024621
Merge upstream master into RUv2 executor accounting PR
AmoebaProtozoa Jun 7, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .agents/skills/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ Current operational workflow skills:
- `tidb-test-guidelines`: test placement, naming, writing conventions, and shard_count guidance.
- `tidb-issue-metadata-guard`: create or update TiDB issues without breaking required templates, labels, or issue metadata conventions.
- `tidb-pr-metadata-guard`: create or update TiDB PR descriptions without breaking PR title scope conventions, required templates, HTML comments, or bot-parsed checklist sections.
- `tidb-change-instruction-critic`: evaluate user/reviewer-prescribed code-change instructions critically, compare alternatives, and ask clarification questions before proceeding when risk or ambiguity exists.

Use `AGENTS.md` for repository policy, validation/reporting requirements, and the pre-flight checklist.
Use `docs/agents/testing-flow.md` for canonical build/test command playbooks.
19 changes: 15 additions & 4 deletions .agents/skills/tidb-bazel-prepare-gate/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,23 +20,34 @@ git status --short
git diff --name-status
git diff --name-status --cached
git ls-files --others --exclude-standard
git diff -U0 -- '*_test.go'
git diff -U0 --cached -- '*_test.go'
git diff -U0 -- '*.go'
git diff -U0 --cached -- '*.go'
```

## Decision Rules

Trigger conditions are defined in `AGENTS.md` -> `Build Flow` -> `When make bazel_prepare is required`.
Compare the output from the commands above against those conditions.

For the top-level test-function trigger in existing `*_test.go` files, inspect added lines in the
`git diff -U0` output for patterns like:
For the top-level test-function trigger in existing `*_test.go` files, inspect added lines in
`git diff -U0 -- '*.go'` and `git diff -U0 --cached -- '*.go'` output for patterns like:

```diff
+func TestXxx(t *testing.T) {
```

and treat that as requiring `make bazel_prepare`.

For import-section changes in existing Go files, inspect `git diff -U0 -- '*.go'` and
`git diff -U0 --cached -- '*.go'` for added/removed import lines, for example:

```diff
+import (
-import "fmt"
+ "context"
```

and treat those changes as requiring `make bazel_prepare`.

If any condition matches, run `make bazel_prepare`.
If none of the rules match, continue without `make bazel_prepare` and report the evidence.
63 changes: 63 additions & 0 deletions .agents/skills/tidb-change-instruction-critic/SKILL.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
---
name: tidb-change-instruction-critic
description: Use when implementing a user- or reviewer-prescribed code change (including review comments with suggested fixes or options), especially when the requested edit may be risky, incomplete, ambiguous, or misaligned with TiDB correctness and compatibility constraints.
---

# TiDB Change Instruction Critic

## Trigger

Use this skill when:

- The request specifies a concrete implementation direction (for example: "change it this way", "use option B", "just follow this patch idea").
- The task is to address review comments that include direct fix instructions or multiple solution options.
- The requested approach might be correct, but the risk or tradeoff is unclear.

## Principle

Treat every implementation instruction as a hypothesis, not a command to apply blindly.
First validate problem understanding and constraints, then select the solution that best preserves correctness and contract intent; use risk as a secondary filter.

## Workflow

1. Decompose the instruction.
- Separate `intent` (what problem is being solved), `constraints` (must-have boundaries), and `proposed method` (how to solve it).
- Mark each item as either `mandatory` or `negotiable`.
2. Reconstruct the actual problem before coding.
- Locate concrete evidence in code/tests/review context for the defect or concern.
- Restate the issue in one or two precise sentences before implementation.
3. Evaluate solution candidates.
- Always evaluate the requested approach.
- When feasible, compare with at least one alternative.
- Judge by correctness, compatibility, performance, maintenance cost, and validation coverage.
4. Choose and justify.
- Prioritize correctness and behavior-contract fit over mechanical risk minimization.
- Use lower-risk preference only when multiple candidates satisfy the same contract and intent.
- If the requested method is weaker than an alternative, explain why and propose the better option.
5. Share analysis summary before coding.
- Provide a short self-analysis summary: reconstructed problem, compared options, chosen solution, and why alternatives were rejected.
6. Challenge gate before implementation.
Ask the user for clarification before coding when any condition holds:
- Requirement or review intent is ambiguous or internally conflicting.
- Requested change may alter SQL semantics, compatibility, or distributed behavior in non-obvious ways.
- Requested change increases blast radius (broad refactor, cross-module behavior shift, fragile workaround).
- Validation plan cannot prove safety with scoped tests.
Keep questions concise and decision-enabling; do not proceed on assumptions.
7. Implement after alignment.
- Keep diff minimal and focused on agreed intent.
- Add or update regression coverage when behavior changes or bugs are fixed.
- Report residual risks explicitly if any tradeoff remains.

## Question Patterns

- "The requested fix and current behavior contract conflict on `<constraint>`. Which priority is correct?"
- "I can implement `<requested approach>`, but `<alternative>` better matches `<contract>` with acceptable risk. Which should we proceed with?"
- "This change may impact `<scope>`. Should I keep scope limited to `<safe scope>` in this patch?"

## Output Checklist

- Clear problem statement confirmed from evidence.
- Chosen solution and reason for rejecting alternatives.
- Short self-analysis summary shared before implementation.
- Any user-confirmed risk decisions captured before coding.
- Validation scope aligned with change risk.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
### Tests
- `pkg/bindinfo/binding_auto_test.go` - Tests plan generation with stmt ctx.
- `pkg/bindinfo/binding_cache_test.go` - Tests cross-DB binding cache.
- `pkg/bindinfo/binding_operator_test.go` - Tests binding cache.
- `pkg/bindinfo/binding_operator_test.go` - Tests binding operators, normalization digests, and redundant-parentheses restore behavior for binding SQL.
- `pkg/bindinfo/binding_plan_evolution_test.go` - Tests rule-based plan performance predictor.
- `pkg/bindinfo/binding_plan_generation_test.go` - Tests fix control adjustments.
- `pkg/bindinfo/main_test.go` - Configures default goleak settings and registers testdata.
Expand Down
3 changes: 2 additions & 1 deletion AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ When writing complex features or significant refactors, use an ExecPlan from des

| Task | Required action |
| --- | --- |
| Added/moved/renamed/removed Go files, added a new top-level Go test function matching `func TestXxx(t *testing.T)` in an existing `*_test.go` file, changed Bazel files, updated Bazel test targets, or changed `go.mod`/`go.sum` | MUST run `make bazel_prepare` and include resulting Bazel metadata changes in the PR (for example `BUILD.bazel`, `**/*.bazel`, and `**/*.bzl`). |
| Added/moved/renamed/removed Go files, changed the import section of an existing Go file, added a new top-level Go test function matching `func TestXxx(t *testing.T)` in an existing `*_test.go` file, changed Bazel files, updated Bazel test targets, or changed `go.mod`/`go.sum` | MUST run `make bazel_prepare` and include resulting Bazel metadata changes in the PR (for example `BUILD.bazel`, `**/*.bazel`, and `**/*.bzl`). |
| Running package unit tests | SHOULD run targeted tests and avoid full-package runs unless needed (see `docs/agents/testing-flow.md` -> `Unit tests`). |
| Unit tests in a package that uses failpoints | MUST enable failpoints before tests and disable afterward (see `docs/agents/testing-flow.md` -> `Failpoint decision for unit tests`). |
| Recording integration tests | MUST use the recording command in `docs/agents/testing-flow.md` -> `Integration tests` (not `-record`; `-record` is for unit-test suites that explicitly support it). |
Expand Down Expand Up @@ -97,6 +97,7 @@ Run `make bazel_prepare` before building when any of the following is true:
- New workspace or fresh clone.
- Bazel-related files changed (for example `WORKSPACE`, `DEPS.bzl`, `BUILD.bazel`, `MODULE.bazel`, `MODULE.bazel.lock`).
- Any Go source file is added/removed/renamed/moved in the PR.
- The import section changed in any existing Go source file (including `*_test.go`).
- A code change adds a new top-level Go test function matching `func TestXxx(t *testing.T)` in an existing `*_test.go` file.
- Go module dependencies changed (for example `go.mod`, `go.sum`), including adding third-party dependencies.
- Bazel test targets were updated (for example `shard_count` changed, test `srcs` list edited, or `tests/realtikvtest/**/BUILD.bazel` modified).
Expand Down
24 changes: 12 additions & 12 deletions DEPS.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -5528,11 +5528,11 @@ def go_deps():
name = "com_github_pingcap_kvproto",
build_file_proto_mode = "disable_global",
importpath = "github.com/pingcap/kvproto",
sha256 = "c92084d6f9f39398a997ae0530e9e4a8acfc82b98ab17a1178c414293909f4fc",
strip_prefix = "github.com/pingcap/kvproto@v0.0.0-20260414083400-4388bfaaedab",
sha256 = "a3d3fd4f25b1de97c28f87b7faf4ba9fd86cae30b15e6007d76e66b6820089d7",
strip_prefix = "github.com/pingcap/kvproto@v0.0.0-20260601035955-b2b3bb492278",
urls = [
"https://cache.hawkingrei.com/gomod/github.com/pingcap/kvproto/com_github_pingcap_kvproto-v0.0.0-20260414083400-4388bfaaedab.zip",
"https://storage.googleapis.com/pingcapmirror/gomod/github.com/pingcap/kvproto/com_github_pingcap_kvproto-v0.0.0-20260414083400-4388bfaaedab.zip",
"https://cache.hawkingrei.com/gomod/github.com/pingcap/kvproto/com_github_pingcap_kvproto-v0.0.0-20260601035955-b2b3bb492278.zip",
"https://storage.googleapis.com/pingcapmirror/gomod/github.com/pingcap/kvproto/com_github_pingcap_kvproto-v0.0.0-20260601035955-b2b3bb492278.zip",
],
)
go_repository(
Expand Down Expand Up @@ -6596,23 +6596,23 @@ def go_deps():
build_tags = ["nextgen", "intest"],
build_file_proto_mode = "disable_global",
importpath = "github.com/tikv/client-go/v2",
sha256 = "c141a99a743835252241ccc913861f671f4aec654e4c5c1920ab1bdf4c3586b7",
strip_prefix = "github.com/tikv/client-go/v2@v2.0.8-0.20260511022933-fb7ee09992a7",
sha256 = "472a85fb7dccdeb0f69c6a96666a62fb41dacb73c15415707f323b9e82ba8378",
strip_prefix = "github.com/tikv/client-go/v2@v2.0.8-0.20260602013621-8804d7c60a7e",
urls = [
"https://cache.hawkingrei.com/gomod/github.com/tikv/client-go/v2/com_github_tikv_client_go_v2-v2.0.8-0.20260511022933-fb7ee09992a7.zip",
"https://storage.googleapis.com/pingcapmirror/gomod/github.com/tikv/client-go/v2/com_github_tikv_client_go_v2-v2.0.8-0.20260511022933-fb7ee09992a7.zip",
"https://cache.hawkingrei.com/gomod/github.com/tikv/client-go/v2/com_github_tikv_client_go_v2-v2.0.8-0.20260602013621-8804d7c60a7e.zip",
"https://storage.googleapis.com/pingcapmirror/gomod/github.com/tikv/client-go/v2/com_github_tikv_client_go_v2-v2.0.8-0.20260602013621-8804d7c60a7e.zip",
],
)
go_repository(
name = "com_github_tikv_pd_client",
build_tags = ["nextgen", "intest"],
build_file_proto_mode = "disable_global",
importpath = "github.com/tikv/pd/client",
sha256 = "82bae6c124099e1dd0cc921c8512f5581ace19506f9ab816d0c8eda35a7d316b",
strip_prefix = "github.com/tikv/pd/client@v0.0.0-20260404141330-8a6813497b52",
sha256 = "8f82128d68f3765fc4d71fa69b7f537cee62173968544b360786d480d6b17230",
strip_prefix = "github.com/tikv/pd/client@v0.0.0-20260601035915-3ef6a3b10c84",
urls = [
"https://cache.hawkingrei.com/gomod/github.com/tikv/pd/client/com_github_tikv_pd_client-v0.0.0-20260404141330-8a6813497b52.zip",
"https://storage.googleapis.com/pingcapmirror/gomod/github.com/tikv/pd/client/com_github_tikv_pd_client-v0.0.0-20260404141330-8a6813497b52.zip",
"https://cache.hawkingrei.com/gomod/github.com/tikv/pd/client/com_github_tikv_pd_client-v0.0.0-20260601035915-3ef6a3b10c84.zip",
"https://storage.googleapis.com/pingcapmirror/gomod/github.com/tikv/pd/client/com_github_tikv_pd_client-v0.0.0-20260601035915-3ef6a3b10c84.zip",
],
)
go_repository(
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
# production environment, please refer to https://github.com/PingCAP-QE/artifacts/blob/main/dockerfiles/cd/builders/tidb/Dockerfile.

# Builder image
FROM golang:1.25.9 as builder
FROM golang:1.25.10 as builder
WORKDIR /tidb

COPY . .
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.enterprise
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

# The current dockerfile is only used for development purposes.
# Builder image
FROM golang:1.25.9 as builder
FROM golang:1.25.10 as builder
WORKDIR /tidb

COPY . .
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -348,11 +348,11 @@ failpoint-disable: tools/bin/failpoint-ctl

.PHONY: bazel-failpoint-enable
bazel-failpoint-enable:
find $$PWD/ -mindepth 1 -maxdepth 1 -type d | grep -vE "(\.git|\.idea|tools)" | xargs bazel $(BAZEL_GLOBAL_CONFIG) run $(BAZEL_CMD_CONFIG) @com_github_pingcap_failpoint//failpoint-ctl:failpoint-ctl -- enable
BAZEL_GLOBAL_CONFIG="$(BAZEL_GLOBAL_CONFIG)" BAZEL_CMD_CONFIG="$(BAZEL_CMD_CONFIG)" ./tools/check/failpoint-state.sh enable bazel

.PHONY: bazel-failpoint-disable
bazel-failpoint-disable:
find $$PWD/ -mindepth 1 -maxdepth 1 -type d | grep -vE "(\.git|\.idea|tools)" | xargs bazel $(BAZEL_GLOBAL_CONFIG) run $(BAZEL_CMD_CONFIG) @com_github_pingcap_failpoint//failpoint-ctl:failpoint-ctl -- disable
BAZEL_GLOBAL_CONFIG="$(BAZEL_GLOBAL_CONFIG)" BAZEL_CMD_CONFIG="$(BAZEL_CMD_CONFIG)" ./tools/check/failpoint-state.sh disable bazel

.PHONY: tools/bin/ut
tools/bin/ut: tools/check/ut.go tools/check/longtests.go
Expand Down
4 changes: 2 additions & 2 deletions Makefile.common
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ FILES_TIDB_TESTS := $$(find $$($(PACKAGE_DIRECTORIES_TIDB_TESTS)) -name "*.go" -
UNCONVERT_PACKAGES_LIST := go list ./...| grep -vE "lightning/checkpoints|lightning/manual|lightning/common|tidb-binlog/proto/go-binlog"
UNCONVERT_PACKAGES := $$($(UNCONVERT_PACKAGES_LIST))

FAILPOINT_ENABLE := find $$PWD/ -mindepth 1 -maxdepth 1 -type d | grep -vE "(\.git|\.idea|tools)" | xargs tools/bin/failpoint-ctl enable
FAILPOINT_DISABLE := find $$PWD/ -mindepth 1 -maxdepth 1 -type d | grep -vE "(\.git|\.idea|tools)" | xargs tools/bin/failpoint-ctl disable
FAILPOINT_ENABLE := ./tools/check/failpoint-state.sh enable go
FAILPOINT_DISABLE := ./tools/check/failpoint-state.sh disable go

GITHASH := $(shell git rev-parse HEAD)
GITBRANCH := $(shell git rev-parse --abbrev-ref HEAD)
Expand Down
17 changes: 15 additions & 2 deletions OWNERS_ALIASES
Original file line number Diff line number Diff line change
Expand Up @@ -40,19 +40,23 @@ aliases:
- windtalker
- XuHuaiyu
- zanmato1984
- gengliqi
sig-approvers-executor-import:
- D3Hunter
- gmhdbjd
- Benjamin2037
- joechenrh
sig-approvers-expression:
- windtalker
- XuHuaiyu
- zanmato1984
- gengliqi
sig-approvers-lightning:
- Benjamin2037
- D3Hunter
- gmhdbjd
- OliverS929
- joechenrh
sig-approvers-domain:
- D3Hunter
- gmhdbjd
Expand All @@ -74,15 +78,17 @@ aliases:
- xhebox
- tiancaiamao
- YangKeao
sig-approvers-disttask:
sig-approvers-dxf:
- Benjamin2037
- D3Hunter
- gmhdbjd
- wjhuang2016
- joechenrh
sig-approvers-dumpling:
- Benjamin2037
- gmhdbjd
- D3Hunter
- joechenrh
sig-approvers-infoschema:
- wjhuang2016
- D3Hunter
Expand Down Expand Up @@ -120,6 +126,10 @@ aliases:
- Benjamin2037
- BornChanger
- D3Hunter
- winoros
- time-and-fate
- AilinKid
- qw4990
sig-approvers-resourcemanager:
- Benjamin2037
- D3Hunter
Expand Down Expand Up @@ -177,6 +187,7 @@ aliases:
- fengou1
- fzzf678
- gengliqi
- ghazalfamilyusa
- henrybw
- iamxy
- js00070
Expand All @@ -191,6 +202,7 @@ aliases:
- spongedu
- tangwz
- tsthght
- wddevries
- xzhangxian1008
- yibin87
- zhangjinpeng1987
Expand Down Expand Up @@ -249,6 +261,7 @@ aliases:
- ekexium
- elsa0520
- eurekaka
- fixdb
- francis0407
- fzhedu
- glorv
Expand Down Expand Up @@ -311,7 +324,7 @@ aliases:
- xhebox
- xiongjiwei
- xuyifangreeneyes
- YangKeao
- yangkeao
- you06
- youjiali1995
- ywqzzy
Expand Down
2 changes: 1 addition & 1 deletion WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ go_download_sdk(
"https://mirrors.aliyun.com/golang/{}",
"https://dl.google.com/go/{}",
],
version = "1.25.9",
version = "1.25.10",
)

gazelle_dependencies(go_sdk = "go_sdk")
Expand Down
2 changes: 1 addition & 1 deletion br/cmd/br/debug.go
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ func setPDConfigCommand() *cobra.Command {
return errors.Trace(err)
}

mgr, err := task.NewMgr(ctx, tidbGlue, cfg.PD, cfg.TLS, task.GetKeepalive(&cfg),
mgr, err := task.NewMgr(ctx, tidbGlue, cfg.KeyspaceName, cfg.PD, cfg.TLS, task.GetKeepalive(&cfg),
cfg.CheckRequirements, false, conn.NormalVersionChecker)
if err != nil {
return errors.Trace(err)
Expand Down
2 changes: 1 addition & 1 deletion br/metrics/grafana/crr_checkpoint_advancer.json
Original file line number Diff line number Diff line change
Expand Up @@ -1350,6 +1350,6 @@
]
},
"timezone": "browser",
"title": "Test-Cluster-CRR-Checkpoint-Advancer",
"title": "Test-Cluster-CRPiTR",
"version": 0
}
5 changes: 3 additions & 2 deletions br/pkg/conn/conn.go
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ func checkStoresAlive(ctx context.Context,
func NewMgr(
ctx context.Context,
g glue.Glue,
keyspaceName string,
pdAddrs []string,
tlsConf *tls.Config,
securityOption pd.SecurityOption,
Expand All @@ -169,7 +170,7 @@ func NewMgr(

log.Info("new mgr", zap.Strings("pdAddrs", pdAddrs))

controller, err := pdutil.NewPdController(ctx, pdAddrs, tlsConf, securityOption)
controller, err := pdutil.NewPdController(ctx, keyspaceName, pdAddrs, tlsConf, securityOption)
if err != nil {
log.Error("failed to create pd controller", zap.Error(err))
return nil, errors.Trace(err)
Expand Down Expand Up @@ -203,7 +204,7 @@ func NewMgr(
// Disable GC because TiDB enables GC already.
path := fmt.Sprintf(
"tikv://%s?disableGC=true&keyspaceName=%s",
strings.Join(pdAddrs, ","), config.GetGlobalKeyspaceName(),
strings.Join(pdAddrs, ","), keyspaceName,
)
storage, err := g.Open(path, securityOption)
if err != nil {
Expand Down
Loading