Skip to content

goleak executor.(*AnalyzeColumnsExecV2).subMergeWorker #41511

@hawkingrei

Description

@hawkingrei

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)

--- PASS: TestGlobalMemoryControlForAnalyze (3.22s)

PASS

coverage: 15.6% of statements

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

[Goroutine 43419 in state sleep, with time.Sleep on top of the stack:

goroutine 43419 [sleep]:

time.Sleep(0x5f5e100)

	GOROOT/src/runtime/time.go:195 +0x135

github.com/pingcap/tidb/executor.(*AnalyzeColumnsExecV2).subMergeWorker(0xc007da2330, 0xc0068bdf80, 0xc006712000, 0x2, 0x0)

	executor/analyze_col_v2.go:602 +0x1e5

created by github.com/pingcap/tidb/executor.(*AnalyzeColumnsExecV2).buildSamplingStats

	executor/analyze_col_v2.go:260 +0x685


 Goroutine 43421 in state sleep, with time.Sleep on top of the stack:

goroutine 43421 [sleep]:

time.Sleep(0x5f5e100)

	GOROOT/src/runtime/time.go:195 +0x135

github.com/pingcap/tidb/executor.(*AnalyzeColumnsExecV2).subMergeWorker(0xc007da2330, 0xc0068bdf80, 0xc006712000, 0x2, 0x2)

	executor/analyze_col_v2.go:602 +0x1e5

created by github.com/pingcap/tidb/executor.(*AnalyzeColumnsExecV2).buildSamplingStats

	executor/analyze_col_v2.go:260 +0x685


 Goroutine 43422 in state sleep, with time.Sleep on top of the stack:

goroutine 43422 [sleep]:

time.Sleep(0x5f5e100)

	GOROOT/src/runtime/time.go:195 +0x135

github.com/pingcap/tidb/executor.(*AnalyzeColumnsExecV2).subMergeWorker(0xc007da2330, 0xc0068bdf80, 0xc006712000, 0x2, 0x3)

	executor/analyze_col_v2.go:602 +0x1e5

created by github.com/pingcap/tidb/executor.(*AnalyzeColumnsExecV2).buildSamplingStats

	executor/analyze_col_v2.go:260 +0x685


 Goroutine 43420 in state sleep, with time.Sleep on top of the stack:

goroutine 43420 [sleep]:

time.Sleep(0x5f5e100)

	GOROOT/src/runtime/time.go:195 +0x135

github.com/pingcap/tidb/executor.(*AnalyzeColumnsExecV2).subMergeWorker(0xc007da2330, 0xc0068bdf80, 0xc006712000, 0x2, 0x1)

	executor/analyze_col_v2.go:602 +0x1e5

created by github.com/pingcap/tidb/executor.(*AnalyzeColumnsExecV2).buildSamplingStats

	executor/analyze_col_v2.go:260 +0x685

]

--

Coverage runner: Not collecting coverage for failed test.

The following commands failed with status 1

/home/jenkins/.tidb/tmp/63a9840cd0739f2c243bb46478607469/sandbox/linux-sandbox/7481/execroot/__main__/bazel-out/k8-fastbuild/bin/executor/analyzetest/analyzetest_test_/analyzetest_test.runfiles/__main__/executor/analyzetest/analyzetest_test_/analyzetest_test

4. What is your TiDB version? (Required)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions