From 2caf3752bbd7588b1006ca21fac44f3a485eb718 Mon Sep 17 00:00:00 2001 From: wuhuizuo Date: Thu, 2 Apr 2026 18:48:49 +0800 Subject: [PATCH 1/2] docs: replace deprecated PingCAP domains --- br/tests/download_tools.sh | 6 +++--- dumpling/README.md | 6 +++--- dumpling/install.sh | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/br/tests/download_tools.sh b/br/tests/download_tools.sh index 960c3017c61c5..9d3677cbc76d2 100755 --- a/br/tests/download_tools.sh +++ b/br/tests/download_tools.sh @@ -34,7 +34,7 @@ done if [ ! -e "$BIN/tiflash" ]; then echo "Downloading nightly Tiflash..." - curl -L -f -o "$BIN/tiflash.tar.gz" "https://download.pingcap.org/tiflash-nightly-linux-amd64.tar.gz" + curl -L -f -o "$BIN/tiflash.tar.gz" "https://download.pingcap.com/tiflash-nightly-linux-amd64.tar.gz" tar -xf "$BIN/tiflash.tar.gz" -C "$BIN/" rm "$BIN/tiflash.tar.gz" mkdir "$BIN"/flash_cluster_manager @@ -46,7 +46,7 @@ fi if [ -n "$MISSING_TIDB_COMPONENTS" ]; then echo "Downloading latest TiDB bundle..." - curl -L -f -o "$BIN/tidb.tar.gz" "https://download.pingcap.org/tidb-nightly-linux-amd64.tar.gz" + curl -L -f -o "$BIN/tidb.tar.gz" "https://download.pingcap.com/tidb-nightly-linux-amd64.tar.gz" tar -x -f "$BIN/tidb.tar.gz" -C "$BIN/" $MISSING_TIDB_COMPONENTS rm "$BIN/tidb.tar.gz" mv "$BIN"/tidb-nightly-linux-amd64/bin/* "$BIN/" @@ -80,7 +80,7 @@ fi if [ ! -e "$BIN/cdc" ]; then echo "Downloading cdc..." - curl -L -f -o "$BIN/cdc.tar.gz" "https://download.pingcap.org/ticdc-nightly-linux-amd64.tar.gz" + curl -L -f -o "$BIN/cdc.tar.gz" "https://download.pingcap.com/ticdc-nightly-linux-amd64.tar.gz" tar -x -f "$BIN/cdc.tar.gz" -C "$BIN/" ticdc-nightly-linux-amd64/bin/cdc mv "$BIN"/ticdc-nightly-linux-amd64/bin/cdc "$BIN/cdc" fi diff --git a/dumpling/README.md b/dumpling/README.md index ef5b71543b65a..57b559231300c 100644 --- a/dumpling/README.md +++ b/dumpling/README.md @@ -29,9 +29,9 @@ Building 3. Run `make dumpling_unit_test` to run the unit tests. 4. Run `make dumpling_integration_test` to run integration tests. For integration test: - The following executables must be copied or generated or linked into these locations: - * `bin/sync_diff_inspector` (download from [tidb-enterprise-tools-latest-linux-amd64](http://download.pingcap.org/tidb-enterprise-tools-latest-linux-amd64.tar.gz)) - * `bin/tidb-server` (download from [tidb-master-linux-amd64](https://download.pingcap.org/tidb-master-linux-amd64.tar.gz)) - * `bin/tidb-lightning` (download from [tidb-toolkit-latest-linux-amd64](https://download.pingcap.org/tidb-toolkit-latest-linux-amd64.tar.gz)) + * `bin/sync_diff_inspector` (download from [tidb-enterprise-tools-latest-linux-amd64](http://download.pingcap.com/tidb-enterprise-tools-latest-linux-amd64.tar.gz)) + * `bin/tidb-server` (download from [tidb-master-linux-amd64](https://download.pingcap.com/tidb-master-linux-amd64.tar.gz)) + * `bin/tidb-lightning` (download from [tidb-toolkit-latest-linux-amd64](https://download.pingcap.com/tidb-toolkit-latest-linux-amd64.tar.gz)) * `bin/minio` (download from ) * Now, you can run `sh ./dumpling/install.sh` to get the above binary files. - The following programs must be installed: diff --git a/dumpling/install.sh b/dumpling/install.sh index 6ab2b96feb132..54236b7b61cd8 100755 --- a/dumpling/install.sh +++ b/dumpling/install.sh @@ -20,7 +20,7 @@ esac # download lightning and sync_diff_inspector TOOLS_TAG="nightly" -wget http://download.pingcap.org/tidb-toolkit-$TOOLS_TAG-linux-$ARCH_SUFFIX.tar.gz -O tools.tar.gz +wget http://download.pingcap.com/tidb-toolkit-$TOOLS_TAG-linux-$ARCH_SUFFIX.tar.gz -O tools.tar.gz tar -xzvf tools.tar.gz mv tidb-toolkit-$TOOLS_TAG-linux-$ARCH_SUFFIX/bin/* bin/ From 6d24f8e1b56e458aff2faef581a96db3183c2371 Mon Sep 17 00:00:00 2001 From: "coderabbitai[bot]" <136622811+coderabbitai[bot]@users.noreply.github.com> Date: Thu, 2 Apr 2026 11:27:16 +0000 Subject: [PATCH 2/2] fix: apply CodeRabbit auto-fixes Fixed 1 file(s) based on 1 unresolved review comment. Co-authored-by: CodeRabbit --- dumpling/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dumpling/README.md b/dumpling/README.md index 57b559231300c..1b36d1d814b02 100644 --- a/dumpling/README.md +++ b/dumpling/README.md @@ -29,7 +29,7 @@ Building 3. Run `make dumpling_unit_test` to run the unit tests. 4. Run `make dumpling_integration_test` to run integration tests. For integration test: - The following executables must be copied or generated or linked into these locations: - * `bin/sync_diff_inspector` (download from [tidb-enterprise-tools-latest-linux-amd64](http://download.pingcap.com/tidb-enterprise-tools-latest-linux-amd64.tar.gz)) + * `bin/sync_diff_inspector` (download from [tidb-enterprise-tools-latest-linux-amd64](https://download.pingcap.com/tidb-enterprise-tools-latest-linux-amd64.tar.gz)) * `bin/tidb-server` (download from [tidb-master-linux-amd64](https://download.pingcap.com/tidb-master-linux-amd64.tar.gz)) * `bin/tidb-lightning` (download from [tidb-toolkit-latest-linux-amd64](https://download.pingcap.com/tidb-toolkit-latest-linux-amd64.tar.gz)) * `bin/minio` (download from ) @@ -41,4 +41,4 @@ Building License ------- -Dumpling is under the Apache 2.0 license. See the [LICENSE](../LICENSE) file for details. +Dumpling is under the Apache 2.0 license. See the [LICENSE](../LICENSE) file for details. \ No newline at end of file