Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

panic in the GetAllTiDBTopology #59170

Open
hawkingrei opened this issue Jan 24, 2025 · 1 comment
Open

panic in the GetAllTiDBTopology #59170

hawkingrei opened this issue Jan 24, 2025 · 1 comment
Labels
type/bug The issue is confirmed as a bug.

Comments

@hawkingrei
Copy link
Member

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

2. What did you expect to see? (Required)

3. What did you see instead (Required)

 goroutine 11746 [running]:
net/http.(*conn).serve.func1()
	GOROOT/src/net/http/server.go:1947 +0xbe
panic({0x24b3fc0?, 0x9fee150?})
	GOROOT/src/runtime/panic.go:785 +0x132
github.com/pingcap/tidb/pkg/domain/infosync.(*InfoSyncer).GetAllTiDBTopology(0xc0084ae900, {0x35db5a0, 0xc0071f3f50})
	pkg/domain/infosync/info.go:857 +0x53
github.com/pingcap/tidb/pkg/server/handler/optimizor.handleDownloadFile({{0x2c4da7c, 0x4}, {0xc00baad220, 0x47}, {0xc0073a6738, 0x39}, 0xc0084ae900, {0x0, 0x0}, 0x2760, ...}, ...)
	pkg/server/handler/optimizor/plan_replayer.go:142 +0x23f
github.com/pingcap/tidb/pkg/server/handler/optimizor.PlanReplayerHandler.ServeHTTP({{0x3632570, 0xc008fedb30}, 0xc008170f00, 0xc0084ae900, {0x0, 0x0}, 0x2760}, {0x35c3bd0, 0xc0063c8ee0}, 0xc007897540)
	pkg/server/handler/optimizor/plan_replayer.go:84 +0x310
github.com/gorilla/mux.(*Router).ServeHTTP(0xc00a0960c0, {0x35c3bd0, 0xc0063c8ee0}, 0xc0078972c0)
	external/com_github_gorilla_mux/mux.go:212 +0x1e2
net/http.(*ServeMux).ServeHTTP(0x63c8ee0?, {0x35c3bd0, 0xc0063c8ee0}, 0xc0078972c0)
	GOROOT/src/net/http/server.go:2747 +0x1ca
github.com/pingcap/tidb/pkg/server/internal/util.CorsHandler.ServeHTTP({{0x35a2340?, 0xc00a22a0e0?}, 0xc009d3cd08?}, {0x35c3bd0?, 0xc0063c8ee0?}, 0xc00a7ff760?)
	pkg/server/internal/util/util.go:219 +0x21c
net/http.serverHandler.ServeHTTP({0xc0099c72f0?}, {0x35c3bd0?, 0xc0063c8ee0?}, 0x6?)
	GOROOT/src/net/http/server.go:3210 +0x8e
net/http.(*conn).serve(0xc00a7db5f0, {0x35db5a0, 0xc008e11320})
	GOROOT/src/net/http/server.go:2092 +0x5d0
created by net/http.(*Server).Serve in goroutine 11483
	GOROOT/src/net/http/server.go:3360 +0x485 

https://tiprow.hawkingrei.com/view/gs/pingcapprow/pr-logs/pull/pingcap_tidb/59160/fast_test_tiprow/1882374950111678464#1:build-log.txt%3A3659

4. What is your TiDB version? (Required)

@hawkingrei hawkingrei added the type/bug The issue is confirmed as a bug. label Jan 24, 2025
@hawkingrei
Copy link
Member Author

ref #43623

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug The issue is confirmed as a bug.
Projects
None yet
Development

No branches or pull requests

1 participant