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

ctx in extractWorker is not initialized #55217

Closed
wjhuang2016 opened this issue Aug 6, 2024 · 0 comments · Fixed by #55228
Closed

ctx in extractWorker is not initialized #55217

wjhuang2016 opened this issue Aug 6, 2024 · 0 comments · Fixed by #55228
Assignees
Labels
affects-8.1 This bug affects the 8.1.x(LTS) versions. component/ddl This issue is related to DDL of TiDB. impact/panic severity/moderate type/bug The issue is confirmed as a bug.

Comments

@wjhuang2016
Copy link
Member

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

type extractWorker struct {
	ctx                context.Context
	sctx               sessionctx.Context
	isBackgroundWorker bool
	sync.Mutex
}

The later use of ctx will be panic

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

N/A

3. What did you see instead (Required)

N/A

4. What is your TiDB version? (Required)

master

@wjhuang2016 wjhuang2016 added the type/bug The issue is confirmed as a bug. label Aug 6, 2024
@lance6716 lance6716 self-assigned this Aug 6, 2024
@lance6716 lance6716 added severity/moderate affects-7.1 This bug affects the 7.1.x(LTS) versions. affects-7.5 This bug affects the 7.5.x(LTS) versions. affects-8.1 This bug affects the 8.1.x(LTS) versions. labels Aug 6, 2024
ti-chi-bot bot pushed a commit that referenced this issue Aug 6, 2024
@jebter jebter added the component/ddl This issue is related to DDL of TiDB. label Sep 20, 2024
@lance6716 lance6716 removed the affects-7.5 This bug affects the 7.5.x(LTS) versions. label Sep 25, 2024
@lance6716 lance6716 removed the affects-7.1 This bug affects the 7.1.x(LTS) versions. label Oct 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects-8.1 This bug affects the 8.1.x(LTS) versions. component/ddl This issue is related to DDL of TiDB. impact/panic severity/moderate type/bug The issue is confirmed as a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants