Skip to content

Release 8.5 20260225 v8.5.2 | pd=@pull-10500-9f9829d_linux_amd64#67474

Open
ClamChowderTiDB wants to merge 63 commits intopingcap:release-8.5-20260225-v8.5.2from
ClamChowderTiDB:release-8.5-20260225-v8.5.2
Open

Release 8.5 20260225 v8.5.2 | pd=@pull-10500-9f9829d_linux_amd64#67474
ClamChowderTiDB wants to merge 63 commits intopingcap:release-8.5-20260225-v8.5.2from
ClamChowderTiDB:release-8.5-20260225-v8.5.2

Conversation

@ClamChowderTiDB
Copy link
Copy Markdown
Collaborator

@ClamChowderTiDB ClamChowderTiDB commented Mar 31, 2026

Release 8.5 20260225 v8.5.2

What problem does this PR solve?

Release 8.5 20260225 v8.5.2

Issue Number: close #xxx

Problem Summary:

What changed and how does it work?

Check List

Release 8.5 20260225 v8.5.2

Release note

Release 8.5 20260225 v8.5.2

Summary by CodeRabbit

  • New Features

    • ALTER DATABASE/SCHEMA ... READ ONLY with info-schema visibility, new error codes, and enforcement of write-blocking (with a privileged bypass).
    • BR: new hidden operator commands — force-flush and checksum-as.
    • BR: memory monitor and status endpoint exposing /metrics.
  • Improvements

    • Expanded BR/RawKV/restore Prometheus metrics and registration.
    • Lightning: customizable ON DUPLICATE resolution and per-engine region sizing.
    • Restore: support for applying TiKV config override files.

ClamChowderTiDB and others added 30 commits March 27, 2026 17:56
X-Original-Commit: 2acac1f
X-Original-Commit: da77778
X-Original-Commit: 20fcc24
X-Original-Commit: d6cedfb65c5009175a4a76b8e6bb09a946c8e827
X-Original-Commit: a108cf3dd784589eeb040c242abe1b7bb1b25df4
X-Original-Commit: a35eab239a35d2dda83598614c6e72c253dc4bc6
…emove some unused code.

X-Original-Commit: 5dc66519fc39a75e098dd5d13f6542ddc311532a
…61090)

X-Original-Commit: b6a6e7336ba663549af921e420784b99950289d5
X-Original-Commit: 38b45fb3150a3ddf50eab6b9afab2e032059618d
X-Original-Commit: dd557092ba7086d90997c9c0b5c07eaf7491ad57
@tiprow
Copy link
Copy Markdown

tiprow Bot commented Apr 2, 2026

@ClamChowderTiDB: No presubmit jobs available for pingcap/tidb@release-8.5-20260225-v8.5.2

Details

In response to this:

/test build

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 kubernetes-sigs/prow repository.

ClamChowderTiDB and others added 3 commits April 2, 2026 18:29
maybeGetDownloadableArtifact never parsed the urls= kwarg, leaving
existingMirrors always empty. This caused isMirror to regenerate every
entry with 4 PingCap + proxy URLs, while the committed DEPS.bzl had
either 4 PingCap-only or proxy-only entries, causing check-bazel-prepare
to always fail.

With urls properly parsed, existingMirrors is populated and reuseOldMirror
correctly fires for all existing entries, preserving their URLs verbatim.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Adding proxy as a 5th URL in the isMirror branch caused check-bazel-prepare
to fail: the isMirror branch runs for all entries when existingMirrors is
empty (skylarkutil was not parsing urls), generating 4 PingCap + proxy while
committed DEPS.bzl has only 4 PingCap — causing a diff for every entry.

The skylarkutil urls-parsing fix makes reuseOldMirror work for existing
entries (both standard 4-PingCap and fork proxy-only), so isMirror only
fires for genuinely new modules. For those, 4 PingCap URLs is the correct
output (same as original upstream behavior).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
gazelle runs before the mirror in make bazel_ci_prepare and rewrites
DEPS.bzl, stripping all urls= entries (converting to sum/version format).
The mirror then reads the on-disk file and sees no URLs, so existingMirrors
is empty and reuseOldMirror never fires. For cherry-picked modules whose
PingCap mirror URLs return 404 (kvproto, client-go, pd/client), the
generated DEPS.bzl ends up with no proxy fallback, causing tazel to fail.

Fix: read DEPS.bzl from git HEAD before gazelle touched it. This gives
reuseOldMirror the correct URL lists (including proxy URLs added by
fix_go_mod.py), so the mirror preserves those entries verbatim.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@ClamChowderTiDB
Copy link
Copy Markdown
Collaborator Author

/test pull-br-integration-test

@tiprow
Copy link
Copy Markdown

tiprow Bot commented Apr 2, 2026

@ClamChowderTiDB: No presubmit jobs available for pingcap/tidb@release-8.5-20260225-v8.5.2

Details

In response to this:

/test pull-br-integration-test

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 kubernetes-sigs/prow repository.

ClamChowderTiDB and others added 2 commits April 2, 2026 20:00
PingCap's pd-server v8.5.x does not implement the
/pd/api/v1/admin/cluster/markers/pitr-restore-mode HTTP endpoint.
SetPitrRestoreMark returned 404, causing every RESTORE DATABASE SQL
statement to fail unconditionally in the brietest suite.

Treat a 404 response as "endpoint not supported by this PD version",
log a warning, and proceed without setting the mark.  The mark is only
meaningful for PD servers that actually implement it, so skipping it on
older deployments is safe.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Simplify if/else to satisfy the all_revive nogo linter.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@ti-chi-bot
Copy link
Copy Markdown

ti-chi-bot Bot commented Apr 3, 2026

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign 3pointer, d3hunter, lance6716, winoros, yudongusa, zanmato1984 for approval. For more information see the Code Review Process.
Please ensure that each of them provides their approval before proceeding.

The full list of commands accepted by this bot can be found 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

@ClamChowderTiDB
Copy link
Copy Markdown
Collaborator Author

/test pull-check
/test mysql-test

@tiprow
Copy link
Copy Markdown

tiprow Bot commented Apr 3, 2026

@ClamChowderTiDB: No presubmit jobs available for pingcap/tidb@release-8.5-20260225-v8.5.2

Details

In response to this:

/test pull-check
/test mysql-test

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 kubernetes-sigs/prow repository.

@ClamChowderTiDB
Copy link
Copy Markdown
Collaborator Author

/test check-dev

@tiprow
Copy link
Copy Markdown

tiprow Bot commented Apr 3, 2026

@ClamChowderTiDB: No presubmit jobs available for pingcap/tidb@release-8.5-20260225-v8.5.2

Details

In response to this:

/test check-dev

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 kubernetes-sigs/prow repository.

@ClamChowderTiDB
Copy link
Copy Markdown
Collaborator Author

/test build

@tiprow
Copy link
Copy Markdown

tiprow Bot commented Apr 3, 2026

@ClamChowderTiDB: No presubmit jobs available for pingcap/tidb@release-8.5-20260225-v8.5.2

Details

In response to this:

/test build

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 kubernetes-sigs/prow repository.

@ClamChowderTiDB
Copy link
Copy Markdown
Collaborator Author

/retest

@nolouch nolouch changed the title Release 8.5 20260225 v8.5.2 Release 8.5 20260225 v8.5.2 | pd=release-8.5-20260225-v8.5.2 Apr 30, 2026
@nolouch
Copy link
Copy Markdown
Member

nolouch commented Apr 30, 2026

/test pull_check

@ti-chi-bot
Copy link
Copy Markdown

ti-chi-bot Bot commented Apr 30, 2026

@nolouch: The specified target(s) for /test were not found.
The following commands are available to trigger required jobs:

/test build
/test check-dev
/test check-dev2
/test mysql-test
/test pull-br-integration-test
/test pull-unit-test-ddlv1
/test unit-test

The following commands are available to trigger optional jobs:

/test pull-common-test
/test pull-e2e-test
/test pull-integration-common-test
/test pull-integration-copr-test
/test pull-integration-ddl-test
/test pull-integration-e2e-test
/test pull-integration-jdbc-test
/test pull-integration-mysql-test
/test pull-integration-nodejs-test
/test pull-integration-python-orm-test
/test pull-integration-tidb-tools-test
/test pull-lightning-integration-test
/test pull-mysql-client-test
/test pull-sqllogic-test

Use /test all to run the following jobs that were automatically triggered:

pingcap/tidb/release-8.5/pull_br_integration_test
pingcap/tidb/release-8.5/pull_build
pingcap/tidb/release-8.5/pull_check
pingcap/tidb/release-8.5/pull_check2
pingcap/tidb/release-8.5/pull_mysql_test
pingcap/tidb/release-8.5/pull_unit_test
pingcap/tidb/release-8.5/pull_unit_test_ddlv1
Details

In response to this:

/test pull_check

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 kubernetes-sigs/prow repository.

@tiprow
Copy link
Copy Markdown

tiprow Bot commented Apr 30, 2026

@nolouch: No presubmit jobs available for pingcap/tidb@release-8.5-20260225-v8.5.2

Details

In response to this:

/test pull_check

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 kubernetes-sigs/prow repository.

@nolouch
Copy link
Copy Markdown
Member

nolouch commented Apr 30, 2026

/test all

@tiprow
Copy link
Copy Markdown

tiprow Bot commented Apr 30, 2026

@nolouch: No presubmit jobs available for pingcap/tidb@release-8.5-20260225-v8.5.2

Details

In response to this:

/test all

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 kubernetes-sigs/prow repository.

@nolouch nolouch changed the title Release 8.5 20260225 v8.5.2 | pd=release-8.5-20260225-v8.5.2 Release 8.5 20260225 v8.5.2 | pd=v8.5.2-10388 May 1, 2026
@nolouch
Copy link
Copy Markdown
Member

nolouch commented May 1, 2026

/test all

@tiprow
Copy link
Copy Markdown

tiprow Bot commented May 1, 2026

@nolouch: No presubmit jobs available for pingcap/tidb@release-8.5-20260225-v8.5.2

Details

In response to this:

/test all

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 kubernetes-sigs/prow repository.

@3pointer 3pointer changed the title Release 8.5 20260225 v8.5.2 | pd=v8.5.2-10388 Release 8.5 20260225 v8.5.2 | pd=@pull-10500-9f9829d_linux_amd64 May 6, 2026
@ti-chi-bot
Copy link
Copy Markdown

ti-chi-bot Bot commented May 6, 2026

[FORMAT CHECKER NOTIFICATION]

Notice: To remove the do-not-merge/invalid-title label, please follow title format, for example pkg [, pkg2, pkg3]: what is changed or *: what is changed.

📖 For more info, you can check the "Contribute Code" section in the development guide.

@3pointer
Copy link
Copy Markdown
Contributor

3pointer commented May 6, 2026

/test all

@tiprow
Copy link
Copy Markdown

tiprow Bot commented May 6, 2026

@3pointer: No presubmit jobs available for pingcap/tidb@release-8.5-20260225-v8.5.2

Details

In response to this:

/test all

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 kubernetes-sigs/prow repository.

@ti-chi-bot
Copy link
Copy Markdown

ti-chi-bot Bot commented May 6, 2026

@ClamChowderTiDB: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
idc-jenkins-ci-tidb/check_dev_2 09fdc29 link true /test check-dev2
pull-br-integration-test 09fdc29 link true /test pull-br-integration-test
pull-unit-test-ddlv1 09fdc29 link true /test pull-unit-test-ddlv1
idc-jenkins-ci-tidb/unit-test 09fdc29 link true /test unit-test

Full PR test history. Your PR dashboard.

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 kubernetes-sigs/prow repository. I understand the commands that are listed here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

component/dumpling This is related to Dumpling of TiDB. do-not-merge/invalid-title do-not-merge/release-note-label-needed Indicates that a PR should not merge because it's missing one of the release note labels. sig/planner SIG: Planner size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants