From 7294ff93b3321c71098b0fdd7a0d917d9efef780 Mon Sep 17 00:00:00 2001 From: Sparkle <1284531+baurine@users.noreply.github.com> Date: Tue, 20 Feb 2024 12:19:56 +0800 Subject: [PATCH] chore(dashboard): update TiDB Dashboard to v7.5.1-43fe8dac [release-7.5] (#7825) ref tikv/pd#4257 Signed-off-by: baurine <2008.hbl@gmail.com> Signed-off-by: Connor1996 Co-authored-by: Connor --- build.ps1 | 19 ------------ go.mod | 2 +- go.sum | 4 +-- pkg/dashboard/adapter/config.go | 3 ++ pkg/utils/grpcutil/grpcutil.go | 31 ++++++++++++------- scripts/dashboard-version | 3 ++ scripts/describe-dashboard.sh | 4 ++- scripts/embed-dashboard-ui.ps1 | 45 ---------------------------- scripts/embed-dashboard-ui.sh | 2 +- scripts/update-dashboard.sh | 51 ++++++++++++++++++++++++++++++++ tests/integrations/client/go.mod | 2 +- tests/integrations/client/go.sum | 4 +-- tests/integrations/mcs/go.mod | 2 +- tests/integrations/mcs/go.sum | 4 +-- tests/integrations/tso/go.mod | 2 +- tests/integrations/tso/go.sum | 4 +-- 16 files changed, 94 insertions(+), 88 deletions(-) delete mode 100644 build.ps1 create mode 100644 scripts/dashboard-version delete mode 100644 scripts/embed-dashboard-ui.ps1 create mode 100755 scripts/update-dashboard.sh diff --git a/build.ps1 b/build.ps1 deleted file mode 100644 index 2e54b17164e..00000000000 --- a/build.ps1 +++ /dev/null @@ -1,19 +0,0 @@ -# For `--version` -$PD_PKG = "github.com/tikv/pd" -$GO_LDFLAGS = "-X `"$PD_PKG/server.PDReleaseVersion=$(git describe --tags --dirty --always)`"" -$GO_LDFLAGS += " -X `"$PD_PKG/server.PDBuildTS=$(date -u '+%Y-%m-%d_%I:%M:%S')`"" -$GO_LDFLAGS += " -X `"$PD_PKG/server.PDGitHash=$(git rev-parse HEAD)`"" -$GO_LDFLAGS += " -X `"$PD_PKG/server.PDGitBranch=$(git rev-parse --abbrev-ref HEAD)`"" - -# Download Dashboard UI -powershell.exe -File ./scripts/embed-dashboard-ui.ps1 - -# Output binaries -go build -ldflags $GO_LDFLAGS -o bin/pd-server.exe cmd/pd-server/main.go -echo "bin/pd-server.exe" -go build -ldflags $GO_LDFLAGS -o bin/pd-ctl.exe tools/pd-ctl/main.go -echo "bin/pd-ctl.exe" -go build -o bin/pd-tso-bench.exe tools/pd-tso-bench/main.go -echo "bin/pd-tso-bench.exe" -go build -o bin/pd-recover.exe tools/pd-recover/main.go -echo "bin/pd-recover.exe" diff --git a/go.mod b/go.mod index 6722b8ab1d9..95bceec48c9 100644 --- a/go.mod +++ b/go.mod @@ -37,7 +37,7 @@ require ( github.com/pingcap/kvproto v0.0.0-20230920042517-db656f45023b github.com/pingcap/log v1.1.1-0.20221110025148-ca232912c9f3 github.com/pingcap/sysutil v1.0.1-0.20230407040306-fb007c5aff21 - github.com/pingcap/tidb-dashboard v0.0.0-20231108071238-7cb8b7ff0537 + github.com/pingcap/tidb-dashboard v0.0.0-20240219055240-43fe8dac5770 github.com/prometheus/client_golang v1.11.1 github.com/prometheus/common v0.26.0 github.com/sasha-s/go-deadlock v0.2.0 diff --git a/go.sum b/go.sum index 816935d16e3..2a49c3b7609 100644 --- a/go.sum +++ b/go.sum @@ -468,8 +468,8 @@ github.com/pingcap/log v1.1.1-0.20221110025148-ca232912c9f3 h1:HR/ylkkLmGdSSDaD8 github.com/pingcap/log v1.1.1-0.20221110025148-ca232912c9f3/go.mod h1:DWQW5jICDR7UJh4HtxXSM20Churx4CQL0fwL/SoOSA4= github.com/pingcap/sysutil v1.0.1-0.20230407040306-fb007c5aff21 h1:QV6jqlfOkh8hqvEAgwBZa+4bSgO0EeKC7s5c6Luam2I= github.com/pingcap/sysutil v1.0.1-0.20230407040306-fb007c5aff21/go.mod h1:QYnjfA95ZaMefyl1NO8oPtKeb8pYUdnDVhQgf+qdpjM= -github.com/pingcap/tidb-dashboard v0.0.0-20231108071238-7cb8b7ff0537 h1:wnHt7ETIB0vm+gbLx8QhcIEmRtrT4QlWlfpcI9vjxOk= -github.com/pingcap/tidb-dashboard v0.0.0-20231108071238-7cb8b7ff0537/go.mod h1:EZ90+V5S4TttbYag6oKZ3jcNKRwZe1Mc9vXwOt9JBYw= +github.com/pingcap/tidb-dashboard v0.0.0-20240219055240-43fe8dac5770 h1:RVEo1R18NiNjinSNIpbRU0Lhi7d+o6IJzsiHs6CgdA8= +github.com/pingcap/tidb-dashboard v0.0.0-20240219055240-43fe8dac5770/go.mod h1:ucZBRz52icb23T/5Z4CsuUHmarYiin7p2MeiVBe+o8c= github.com/pingcap/tipb v0.0.0-20220718022156-3e2483c20a9e h1:FBaTXU8C3xgt/drM58VHxojHo/QoG1oPsgWTGvaSpO4= github.com/pingcap/tipb v0.0.0-20220718022156-3e2483c20a9e/go.mod h1:A7mrd7WHBl1o63LE2bIBGEJMTNWXqhgmYiOvMLxozfs= github.com/pkg/diff v0.0.0-20210226163009-20ebb0f2a09e/go.mod h1:pJLUxLENpZxwdsKMEsNbx1VGcRFpLqf3715MtcvvzbA= diff --git a/pkg/dashboard/adapter/config.go b/pkg/dashboard/adapter/config.go index 63c900acf77..a1661b84f2b 100644 --- a/pkg/dashboard/adapter/config.go +++ b/pkg/dashboard/adapter/config.go @@ -38,6 +38,9 @@ func GenDashboardConfig(srv *server.Server) (*config.Config, error) { if dashboardCfg.ClusterTLSConfig, err = cfg.Security.ToTLSConfig(); err != nil { return nil, err } + if dashboardCfg.ClusterTLSInfo, err = cfg.Security.ToTLSInfo(); err != nil { + return nil, err + } if dashboardCfg.TiDBTLSConfig, err = cfg.Dashboard.ToTiDBTLSConfig(); err != nil { return nil, err } diff --git a/pkg/utils/grpcutil/grpcutil.go b/pkg/utils/grpcutil/grpcutil.go index ee9d85a4ee1..b4d3aa4b27b 100644 --- a/pkg/utils/grpcutil/grpcutil.go +++ b/pkg/utils/grpcutil/grpcutil.go @@ -53,6 +53,24 @@ type TLSConfig struct { SSLKEYBytes []byte } +// ToTLSInfo converts TLSConfig to transport.TLSInfo. +func (s TLSConfig) ToTLSInfo() (*transport.TLSInfo, error) { + if len(s.CertPath) == 0 && len(s.KeyPath) == 0 { + return nil, nil + } + allowedCN, err := s.GetOneAllowedCN() + if err != nil { + return nil, err + } + + return &transport.TLSInfo{ + CertFile: s.CertPath, + KeyFile: s.KeyPath, + TrustedCAFile: s.CAPath, + AllowedCN: allowedCN, + }, nil +} + // ToTLSConfig generates tls config. func (s TLSConfig) ToTLSConfig() (*tls.Config, error) { if len(s.SSLCABytes) != 0 || len(s.SSLCertBytes) != 0 || len(s.SSLKEYBytes) != 0 { @@ -74,19 +92,12 @@ func (s TLSConfig) ToTLSConfig() (*tls.Config, error) { }, nil } - if len(s.CertPath) == 0 && len(s.KeyPath) == 0 { + tlsInfo, err := s.ToTLSInfo() + if tlsInfo == nil { return nil, nil } - allowedCN, err := s.GetOneAllowedCN() if err != nil { - return nil, err - } - - tlsInfo := transport.TLSInfo{ - CertFile: s.CertPath, - KeyFile: s.KeyPath, - TrustedCAFile: s.CAPath, - AllowedCN: allowedCN, + return nil, errs.ErrEtcdTLSConfig.Wrap(err).GenWithStackByCause() } tlsConfig, err := tlsInfo.ClientConfig() diff --git a/scripts/dashboard-version b/scripts/dashboard-version new file mode 100644 index 00000000000..5bc8fb0076f --- /dev/null +++ b/scripts/dashboard-version @@ -0,0 +1,3 @@ +# This file is updated by running scripts/update-dashboard.sh +# Don't edit it manullay +7.5.1-43fe8dac diff --git a/scripts/describe-dashboard.sh b/scripts/describe-dashboard.sh index 502a2a55266..5d474c81bae 100755 --- a/scripts/describe-dashboard.sh +++ b/scripts/describe-dashboard.sh @@ -14,7 +14,9 @@ DASHBOARD_DIR=$(go list -f "{{.Dir}}" -m github.com/pingcap/tidb-dashboard) if [ "$1" = "git-hash" ]; then echo "${DASHBOARD_DIR}" | awk -F- '{print $NF}' elif [ "$1" = "internal-version" ]; then - grep -v '^#' "${DASHBOARD_DIR}/release-version" + CUR_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" + BASE_DIR="$(dirname "$CUR_DIR")" + grep -v '^#' "$BASE_DIR/scripts/dashboard-version" else exit 1 fi diff --git a/scripts/embed-dashboard-ui.ps1 b/scripts/embed-dashboard-ui.ps1 deleted file mode 100644 index 53eb8453d6e..00000000000 --- a/scripts/embed-dashboard-ui.ps1 +++ /dev/null @@ -1,45 +0,0 @@ -$DIR = Split-Path -Parent $MyInvocation.MyCommand.Definition -$BASE_DIR = (get-item $DIR).parent.FullName -$CACHE_DIR = Join-Path($BASE_DIR) "\.dashboard_download_cache" - -echo '+ Create asset cache directory' - -mkdir -p $CACHE_DIR -Force | Out-Null - -echo '+ Fetch TiDB Dashboard Go module' -go mod download -go mod tidy - -echo '+ Discover TiDB Dashboard release version' - -$DASHBOARD_DIR=$(go list -f "{{.Dir}}" -m github.com/pingcap/tidb-dashboard) -echo " - Dashboard directory: $DASHBOARD_DIR" - -$DASHBOARD_RELEASE_VERSION= cat "${DASHBOARD_DIR}/release-version" | Select-String -Pattern "^#" -NotMatch -echo " - TiDB Dashboard release version: $DASHBOARD_RELEASE_VERSION" - -echo '+ Check embedded assets exists in cache' -$CACHE_FILE= Join-Path($CACHE_DIR) \embedded-assets-golang-${DASHBOARD_RELEASE_VERSION}.zip - -if (Test-Path "$CACHE_FILE" ){ - echo " - Cached archive exists: $CACHE_FILE" -} -else{ - echo ' - Cached archive does not exist' - echo ' - Download pre-built embedded assets from GitHub release' - $DOWNLOAD_URL="https://github.com/pingcap/tidb-dashboard/releases/download/v${DASHBOARD_RELEASE_VERSION}/embedded-assets-golang.zip" - $DOWNLOAD_FILE= Join-Path($CACHE_DIR) \embedded-assets-golang.zip - echo " - Download ${DOWNLOAD_URL}" - Invoke-WebRequest -Uri "${DOWNLOAD_URL}" -OutFile "${DOWNLOAD_FILE}" - - echo " - Save archive to cache: ${CACHE_FILE}" - mv "${DOWNLOAD_FILE}" "${CACHE_FILE}" -} - -echo '+ Unpack embedded asset from archive' -Expand-Archive -Path "${CACHE_FILE}" -DestinationPath "$CACHE_DIR" -Force -$MOVE_FILE="${CACHE_DIR}\embedded_assets_handler.go" -gofmt -s -w "$MOVE_FILE" -$MOVE_DEST="${BASE_DIR}\pkg\dashboard\uiserver" -move-item -path "${MOVE_FILE}" -destination "${MOVE_DEST}" -Force -echo " - Unpacked ${MOVE_DEST}" diff --git a/scripts/embed-dashboard-ui.sh b/scripts/embed-dashboard-ui.sh index 80c90bb1788..d51d5de3487 100755 --- a/scripts/embed-dashboard-ui.sh +++ b/scripts/embed-dashboard-ui.sh @@ -41,7 +41,7 @@ mkdir -p "${CACHE_DIR}" function download_embed_asset { echo '+ Discover TiDB Dashboard release version' - DASHBOARD_RELEASE_VERSION=$(grep -v '^#' "${DASHBOARD_DIR}/release-version") + DASHBOARD_RELEASE_VERSION=$(grep -v '^#' "${BASE_DIR}/scripts/dashboard-version") echo " - TiDB Dashboard release version: ${DASHBOARD_RELEASE_VERSION}" echo '+ Check whether pre-built assets are available' diff --git a/scripts/update-dashboard.sh b/scripts/update-dashboard.sh new file mode 100755 index 00000000000..19c0e56f28d --- /dev/null +++ b/scripts/update-dashboard.sh @@ -0,0 +1,51 @@ +#!/usr/bin/env bash +set -euo pipefail + +CUR_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" +BASE_DIR="$(dirname "$CUR_DIR")" +DASHBOARD_VERSION_FILE="$BASE_DIR/scripts/dashboard-version" +# old version +DASHBOARD_VERSION=v$(grep -v '^#' "$DASHBOARD_VERSION_FILE") + +# new version +# Usage: ./scripts/update-dashboard.sh +# Example: ./scripts/update-dashboard.sh v7.6.0-f7bbcdcf +if [ "$#" -ge 1 ]; then + DASHBOARD_VERSION=$1 + + # if DASHBOARD_VERSION not start with `v`, then exit + if [[ ! $DASHBOARD_VERSION =~ ^v[0-9]+\. ]]; then + echo "Invalid dashboard version: $DASHBOARD_VERSION, it should start with \"v\"" + exit 1 + fi + + # when writing to DASHBOARD_VERSION_FILE, remove the leading `v`, + # so that we don't need to modify the embed-dashboard-ui.sh logic + TO_FILE_VERSION=${DASHBOARD_VERSION#v} + + echo "# This file is updated by running scripts/update-dashboard.sh" > $DASHBOARD_VERSION_FILE + echo "# Don't edit it manullay" >> $DASHBOARD_VERSION_FILE + echo $TO_FILE_VERSION >> $DASHBOARD_VERSION_FILE +fi + +echo "+ Update dashboard version to $DASHBOARD_VERSION" + +cd $BASE_DIR + +# if DASHBOARD_VERSION match "vX.Y.Z-" format, +# then extract the commit hash as tidb-dashboard target +if [[ $DASHBOARD_VERSION =~ ^v[0-9]+\.[0-9]+\.[0-9]+-[0-9a-f]{7,8} ]]; then + DASHBOARD_VERSION=$(echo $DASHBOARD_VERSION | cut -d'-' -f2) +fi + +go get -d github.com/pingcap/tidb-dashboard@$DASHBOARD_VERSION +go mod tidy +make pd-server +go mod tidy + +cd tests/integrations/client +go mod tidy +cd ../mcs +go mod tidy +cd ../tso +go mod tidy diff --git a/tests/integrations/client/go.mod b/tests/integrations/client/go.mod index 7254fd010b4..4cb813fe392 100644 --- a/tests/integrations/client/go.mod +++ b/tests/integrations/client/go.mod @@ -123,7 +123,7 @@ require ( github.com/pingcap/errcode v0.3.0 // indirect github.com/pingcap/errors v0.11.5-0.20211224045212-9687c2b0f87c // indirect github.com/pingcap/sysutil v1.0.1-0.20230407040306-fb007c5aff21 // indirect - github.com/pingcap/tidb-dashboard v0.0.0-20231108071238-7cb8b7ff0537 // indirect + github.com/pingcap/tidb-dashboard v0.0.0-20240219055240-43fe8dac5770 // indirect github.com/pingcap/tipb v0.0.0-20220718022156-3e2483c20a9e // indirect github.com/pkg/errors v0.9.1 // indirect github.com/pmezard/go-difflib v1.0.0 // indirect diff --git a/tests/integrations/client/go.sum b/tests/integrations/client/go.sum index 5834de37cfb..3b34735fd26 100644 --- a/tests/integrations/client/go.sum +++ b/tests/integrations/client/go.sum @@ -432,8 +432,8 @@ github.com/pingcap/log v1.1.1-0.20221110025148-ca232912c9f3 h1:HR/ylkkLmGdSSDaD8 github.com/pingcap/log v1.1.1-0.20221110025148-ca232912c9f3/go.mod h1:DWQW5jICDR7UJh4HtxXSM20Churx4CQL0fwL/SoOSA4= github.com/pingcap/sysutil v1.0.1-0.20230407040306-fb007c5aff21 h1:QV6jqlfOkh8hqvEAgwBZa+4bSgO0EeKC7s5c6Luam2I= github.com/pingcap/sysutil v1.0.1-0.20230407040306-fb007c5aff21/go.mod h1:QYnjfA95ZaMefyl1NO8oPtKeb8pYUdnDVhQgf+qdpjM= -github.com/pingcap/tidb-dashboard v0.0.0-20231108071238-7cb8b7ff0537 h1:wnHt7ETIB0vm+gbLx8QhcIEmRtrT4QlWlfpcI9vjxOk= -github.com/pingcap/tidb-dashboard v0.0.0-20231108071238-7cb8b7ff0537/go.mod h1:EZ90+V5S4TttbYag6oKZ3jcNKRwZe1Mc9vXwOt9JBYw= +github.com/pingcap/tidb-dashboard v0.0.0-20240219055240-43fe8dac5770 h1:RVEo1R18NiNjinSNIpbRU0Lhi7d+o6IJzsiHs6CgdA8= +github.com/pingcap/tidb-dashboard v0.0.0-20240219055240-43fe8dac5770/go.mod h1:ucZBRz52icb23T/5Z4CsuUHmarYiin7p2MeiVBe+o8c= github.com/pingcap/tipb v0.0.0-20220718022156-3e2483c20a9e h1:FBaTXU8C3xgt/drM58VHxojHo/QoG1oPsgWTGvaSpO4= github.com/pingcap/tipb v0.0.0-20220718022156-3e2483c20a9e/go.mod h1:A7mrd7WHBl1o63LE2bIBGEJMTNWXqhgmYiOvMLxozfs= github.com/pkg/diff v0.0.0-20210226163009-20ebb0f2a09e/go.mod h1:pJLUxLENpZxwdsKMEsNbx1VGcRFpLqf3715MtcvvzbA= diff --git a/tests/integrations/mcs/go.mod b/tests/integrations/mcs/go.mod index c8201d70e29..305add5ad49 100644 --- a/tests/integrations/mcs/go.mod +++ b/tests/integrations/mcs/go.mod @@ -123,7 +123,7 @@ require ( github.com/pingcap/errcode v0.3.0 // indirect github.com/pingcap/errors v0.11.5-0.20211224045212-9687c2b0f87c // indirect github.com/pingcap/sysutil v1.0.1-0.20230407040306-fb007c5aff21 // indirect - github.com/pingcap/tidb-dashboard v0.0.0-20231108071238-7cb8b7ff0537 // indirect + github.com/pingcap/tidb-dashboard v0.0.0-20240219055240-43fe8dac5770 // indirect github.com/pingcap/tipb v0.0.0-20220718022156-3e2483c20a9e // indirect github.com/pkg/errors v0.9.1 // indirect github.com/pmezard/go-difflib v1.0.0 // indirect diff --git a/tests/integrations/mcs/go.sum b/tests/integrations/mcs/go.sum index 3b1d08a3459..91f8f3cfbbe 100644 --- a/tests/integrations/mcs/go.sum +++ b/tests/integrations/mcs/go.sum @@ -436,8 +436,8 @@ github.com/pingcap/log v1.1.1-0.20221110025148-ca232912c9f3 h1:HR/ylkkLmGdSSDaD8 github.com/pingcap/log v1.1.1-0.20221110025148-ca232912c9f3/go.mod h1:DWQW5jICDR7UJh4HtxXSM20Churx4CQL0fwL/SoOSA4= github.com/pingcap/sysutil v1.0.1-0.20230407040306-fb007c5aff21 h1:QV6jqlfOkh8hqvEAgwBZa+4bSgO0EeKC7s5c6Luam2I= github.com/pingcap/sysutil v1.0.1-0.20230407040306-fb007c5aff21/go.mod h1:QYnjfA95ZaMefyl1NO8oPtKeb8pYUdnDVhQgf+qdpjM= -github.com/pingcap/tidb-dashboard v0.0.0-20231108071238-7cb8b7ff0537 h1:wnHt7ETIB0vm+gbLx8QhcIEmRtrT4QlWlfpcI9vjxOk= -github.com/pingcap/tidb-dashboard v0.0.0-20231108071238-7cb8b7ff0537/go.mod h1:EZ90+V5S4TttbYag6oKZ3jcNKRwZe1Mc9vXwOt9JBYw= +github.com/pingcap/tidb-dashboard v0.0.0-20240219055240-43fe8dac5770 h1:RVEo1R18NiNjinSNIpbRU0Lhi7d+o6IJzsiHs6CgdA8= +github.com/pingcap/tidb-dashboard v0.0.0-20240219055240-43fe8dac5770/go.mod h1:ucZBRz52icb23T/5Z4CsuUHmarYiin7p2MeiVBe+o8c= github.com/pingcap/tipb v0.0.0-20220718022156-3e2483c20a9e h1:FBaTXU8C3xgt/drM58VHxojHo/QoG1oPsgWTGvaSpO4= github.com/pingcap/tipb v0.0.0-20220718022156-3e2483c20a9e/go.mod h1:A7mrd7WHBl1o63LE2bIBGEJMTNWXqhgmYiOvMLxozfs= github.com/pkg/diff v0.0.0-20210226163009-20ebb0f2a09e/go.mod h1:pJLUxLENpZxwdsKMEsNbx1VGcRFpLqf3715MtcvvzbA= diff --git a/tests/integrations/tso/go.mod b/tests/integrations/tso/go.mod index 7c6313ba15e..542907ef624 100644 --- a/tests/integrations/tso/go.mod +++ b/tests/integrations/tso/go.mod @@ -121,7 +121,7 @@ require ( github.com/pingcap/errors v0.11.5-0.20211224045212-9687c2b0f87c // indirect github.com/pingcap/log v1.1.1-0.20221110025148-ca232912c9f3 // indirect github.com/pingcap/sysutil v1.0.1-0.20230407040306-fb007c5aff21 // indirect - github.com/pingcap/tidb-dashboard v0.0.0-20231108071238-7cb8b7ff0537 // indirect + github.com/pingcap/tidb-dashboard v0.0.0-20240219055240-43fe8dac5770 // indirect github.com/pingcap/tipb v0.0.0-20220718022156-3e2483c20a9e // indirect github.com/pkg/errors v0.9.1 // indirect github.com/pmezard/go-difflib v1.0.0 // indirect diff --git a/tests/integrations/tso/go.sum b/tests/integrations/tso/go.sum index 93fe63fa86e..4659e33fadd 100644 --- a/tests/integrations/tso/go.sum +++ b/tests/integrations/tso/go.sum @@ -430,8 +430,8 @@ github.com/pingcap/log v1.1.1-0.20221110025148-ca232912c9f3 h1:HR/ylkkLmGdSSDaD8 github.com/pingcap/log v1.1.1-0.20221110025148-ca232912c9f3/go.mod h1:DWQW5jICDR7UJh4HtxXSM20Churx4CQL0fwL/SoOSA4= github.com/pingcap/sysutil v1.0.1-0.20230407040306-fb007c5aff21 h1:QV6jqlfOkh8hqvEAgwBZa+4bSgO0EeKC7s5c6Luam2I= github.com/pingcap/sysutil v1.0.1-0.20230407040306-fb007c5aff21/go.mod h1:QYnjfA95ZaMefyl1NO8oPtKeb8pYUdnDVhQgf+qdpjM= -github.com/pingcap/tidb-dashboard v0.0.0-20231108071238-7cb8b7ff0537 h1:wnHt7ETIB0vm+gbLx8QhcIEmRtrT4QlWlfpcI9vjxOk= -github.com/pingcap/tidb-dashboard v0.0.0-20231108071238-7cb8b7ff0537/go.mod h1:EZ90+V5S4TttbYag6oKZ3jcNKRwZe1Mc9vXwOt9JBYw= +github.com/pingcap/tidb-dashboard v0.0.0-20240219055240-43fe8dac5770 h1:RVEo1R18NiNjinSNIpbRU0Lhi7d+o6IJzsiHs6CgdA8= +github.com/pingcap/tidb-dashboard v0.0.0-20240219055240-43fe8dac5770/go.mod h1:ucZBRz52icb23T/5Z4CsuUHmarYiin7p2MeiVBe+o8c= github.com/pingcap/tipb v0.0.0-20220718022156-3e2483c20a9e h1:FBaTXU8C3xgt/drM58VHxojHo/QoG1oPsgWTGvaSpO4= github.com/pingcap/tipb v0.0.0-20220718022156-3e2483c20a9e/go.mod h1:A7mrd7WHBl1o63LE2bIBGEJMTNWXqhgmYiOvMLxozfs= github.com/pkg/diff v0.0.0-20210226163009-20ebb0f2a09e/go.mod h1:pJLUxLENpZxwdsKMEsNbx1VGcRFpLqf3715MtcvvzbA=