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

PD panic when updateSubTree #8915

Open
nolouch opened this issue Dec 13, 2024 · 1 comment · Fixed by #7143
Open

PD panic when updateSubTree #8915

nolouch opened this issue Dec 13, 2024 · 1 comment · Fixed by #7143
Labels
affects-6.5 This bug affects the 6.5.x(LTS) versions. affects-7.1 This bug affects the 7.1.x(LTS) versions. impact/panic severity/critical type/bug The issue is confirmed as a bug.

Comments

@nolouch
Copy link
Contributor

nolouch commented Dec 13, 2024

Bug Report

goroutine 1301574582 [running]:
github.com/tikv/pd/server/core.(*RegionsInfo).UpdateSubTree(0xc0004181c0, 0xc0311a7e00, 0xc016631a00,
{0x0, 0x0, 0x10?}
, 0)
/home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/pd/server/core/region.go:868 +0x15b
github.com/tikv/pd/server/core.(*RegionsInfo).AtomicCheckAndPutRegion(0xc0004181c0, 0xc0311a7e00)
/home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/pd/server/core/region.go:759 +0x1f4
github.com/tikv/pd/server/cluster.(*RaftCluster).processRegionHeartbeat(0xc000f60140, 0xc0311a7e00)
/home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/pd/server/cluster/cluster.go:877 +0x67d
github.com/tikv/pd/server/cluster.(*RaftCluster).HandleRegionHeartbeat(0xc000f60140, 0xc004a05760?)
/home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/pd/server/cluster/cluster_worker.go:36 +0x25
github.com/tikv/pd/server.(*GrpcServer).RegionHeartbeat(0xc002a26000,
{0x38761f8?, 0xc025a13a00}
)
/home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/pd/server/grpc_service.go:965 +0xcc5
github.com/pingcap/kvproto/pkg/pdpb._PD_RegionHeartbeat_Handler(
{0x2a6cd60?, 0xc002a26000}, {0x38722b0?, 0xc0221ec150})
/go/pkg/mod/github.com/pingcap/[email protected]/pkg/pdpb/pdpb.pb.go:8144 +0xa2
github.com/grpc-ecosystem/go-grpc-middleware.ChainStreamServer.func1.1({0x2a6cd60?, 0xc002a26000}
,
{0x38722b0?, 0xc0221ec150}
)
/go/pkg/mod/github.com/grpc-ecosystem/[email protected]/chain.go:71 +0x89

What did you do?

no panic

What did you expect to see?

panic

What did you see instead?

What version of PD are you using (pd-server -V)?

v6.5.3

@rleungx
Copy link
Member

rleungx commented Dec 17, 2024

release-7.1 also has this issue.

@rleungx rleungx added the affects-7.1 This bug affects the 7.1.x(LTS) versions. label Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects-6.5 This bug affects the 6.5.x(LTS) versions. affects-7.1 This bug affects the 7.1.x(LTS) versions. impact/panic severity/critical type/bug The issue is confirmed as a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants