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

index out of range in the TestGetMergeRegionSizeAndCount #52095

Closed
Tracked by #41316
hawkingrei opened this issue Mar 26, 2024 · 0 comments · Fixed by #52241
Closed
Tracked by #41316

index out of range in the TestGetMergeRegionSizeAndCount #52095

hawkingrei opened this issue Mar 26, 2024 · 0 comments · Fixed by #52241
Assignees
Labels

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)

2024/03/26 12:32:33 http: panic serving 127.0.0.1:54548: runtime error: index out of range [2] with length 2
goroutine 16 [running]:
net/http.(*conn).serve.func1()
	/opt/homebrew/Cellar/go/1.22.1/libexec/src/net/http/server.go:1898 +0xe4
panic({0x105cf1e00?, 0xc0002a13c8?})
	/opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/panic.go:770 +0x124
github.com/pingcap/tidb/br/pkg/conn.TestGetMergeRegionSizeAndCount.func1({0x105f20920, 0xc0001bbce0}, 0xc0007f5d40)
	/Users/weizhenwang/devel/opensource/tidb/br/pkg/conn/conn_test.go:416 +0x1f0
net/http.HandlerFunc.ServeHTTP(0xc00000fe18, {0x105f20920, 0xc0001bbce0}, 0xc0007f5d40)
	/opt/homebrew/Cellar/go/1.22.1/libexec/src/net/http/server.go:2166 +0x4c
net/http.serverHandler.ServeHTTP({0xc000e0d470?}, {0x105f20920, 0xc0001bbce0}, 0xc0007f5d40)
	/opt/homebrew/Cellar/go/1.22.1/libexec/src/net/http/server.go:3137 +0x29c
net/http.(*conn).serve(0xc000539d40, {0x105f33310, 0xc000e801e0})
	/opt/homebrew/Cellar/go/1.22.1/libexec/src/net/http/server.go:2039 +0xf2c
created by net/http.(*Server).Serve in goroutine 14
	/opt/homebrew/Cellar/go/1.22.1/libexec/src/net/http/server.go:3285 +0x678

4. What is your TiDB version? (Required)

@hawkingrei hawkingrei added the type/bug This issue is a bug. label Mar 26, 2024
3AceShowHand pushed a commit to 3AceShowHand/tidb that referenced this issue Apr 16, 2024
@jebter jebter added the component/br This issue is related to BR of TiDB. label Apr 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants