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

goleak in the statisticstest #39502

Closed
hawkingrei opened this issue Nov 30, 2022 · 0 comments · Fixed by #39503
Closed

goleak in the statisticstest #39502

hawkingrei opened this issue Nov 30, 2022 · 0 comments · Fixed by #39503
Labels
component/test severity/moderate type/bug The issue is confirmed as a bug.

Comments

@hawkingrei
Copy link
Member

hawkingrei commented Nov 30, 2022

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

goleak: Errors on successful test run: found unexpected goroutines:

[Goroutine 385 in state select, with go.etcd.io/etcd/client/v3.waitRetryBackoff on top of the stack:

goroutine 385 [select]:

go.etcd.io/etcd/client/v3.waitRetryBackoff({0x7d84298, 0xc003092bd0}, 0x2e, 0xc0007e84a0)

	external/io_etcd_go_etcd_client_v3/retry_interceptor.go:302 +0x146

go.etcd.io/etcd/client/v3.(*Client).unaryClientInterceptor.func1({0x7d84260, 0xc002297da0}, {0x65ee9b8, 0x14}, {0x6489be0, 0xc002297e00}, {0x6441520, 0xc003092b70}, 0xc000d54500, 0x670c798, ...)

	external/io_etcd_go_etcd_client_v3/retry_interceptor.go:50 +0x27f

google.golang.org/grpc.(*ClientConn).Invoke(0xc000d54500, {0x7d84260, 0xc002297da0}, {0x65ee9b8, 0x14}, {0x6489be0, 0xc002297e00}, {0x6441520, 0xc003092b70}, {0xa37be00, ...})

	external/org_golang_google_grpc/call.go:35 +0x26e

go.etcd.io/etcd/api/v3/etcdserverpb.(*kVClient).Put(0xc0007fa228, {0x7d84260, 0xc002297da0}, 0x0?, {0xa37be00, 0x3, 0x3})

	external/io_etcd_go_etcd_api_v3/etcdserverpb/rpc.pb.go:6469 +0xf5

go.etcd.io/etcd/client/v3.(*retryKVClient).Put(0xc0008a53e0, {0x7d84260, 0xc002297da0}, 0xc001c1c05a?, {0xa37be00, 0x3, 0x3})

	external/io_etcd_go_etcd_client_v3/retry.go:109 +0x96

go.etcd.io/etcd/client/v3.(*kv).Do(0xc000d88150, {_, _}, {0x2, {0xc00507cd68, 0x16, 0x18}, {0x0, 0x0, 0x0}, ...})

	external/io_etcd_go_etcd_client_v3/kv.go:156 +0x835

go.etcd.io/etcd/client/v3.(*kv).Put(0x0?, {0x7d84260, 0xc002297da0}, {0x65f6f47, 0x16}, {0xc001d17730, 0x70}, {0x0, 0x0, 0x0})

	external/io_etcd_go_etcd_client_v3/kv.go:114 +0x130

github.com/pingcap/tidb/telemetry.updateTelemetryStatus({{0xc00014ec20, 0x19}, 0x0, {0x0, 0x0}, 0x1}, 0xc000b86e00)

	telemetry/status.go:48 +0x1d3

github.com/pingcap/tidb/telemetry.ReportUsageData({0x7df15e8, 0xc00094a780}, 0xc000b86e00)

	telemetry/telemetry.go:167 +0x131

github.com/pingcap/tidb/telemetry.InitialRun({0x7df15e8, 0xc00094a780}, 0xc00176a6e8?)

	telemetry/telemetry.go:177 +0x352

github.com/pingcap/tidb/domain.(*Domain).TelemetryReportLoop(0xc0011f8000, {0x7df15e8, 0xc00094a780})

	domain/domain.go:1521 +0xc6

github.com/pingcap/tidb/session.BootstrapSession.func1()

	session/session.go:3022 +0x7b

created by github.com/pingcap/tidb/session.BootstrapSession

	session/session.go:3021 +0x915



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

3. What did you see instead (Required)

4. What is your TiDB version? (Required)

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

Successfully merging a pull request may close this issue.

1 participant