From df9683a25a475f7244f4b4cae003cc6c1907ffa4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dani=C3=ABl=20van=20Eeden?= Date: Mon, 6 Oct 2025 23:18:09 +0200 Subject: [PATCH] executor: exclude tiproxy advertise addr from inspection result (#63841) close pingcap/tidb#63840 --- pkg/executor/inspection_result.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkg/executor/inspection_result.go b/pkg/executor/inspection_result.go index 4f89f30126..f0e4abb322 100644 --- a/pkg/executor/inspection_result.go +++ b/pkg/executor/inspection_result.go @@ -254,6 +254,9 @@ func (configInspection) inspectDiffConfig(ctx context.Context, sctx sessionctx.C "raftstore.raftdb-path", "storage.data-dir", "storage.block-cache.capacity", + + // TiProxy + "proxy.advertise-addr", } exec := sctx.GetRestrictedSQLExecutor() rows, _, err := exec.ExecRestrictedSQL(ctx, nil, "select type, `key`, count(distinct value) as c from information_schema.cluster_config where `key` not in (%?) group by type, `key` having c > 1", ignoreConfigKey)