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

flaky test TestParallelErrStage #55594

Closed
Tracked by #41316
hawkingrei opened this issue Aug 22, 2024 · 2 comments · Fixed by #55620
Closed
Tracked by #41316

flaky test TestParallelErrStage #55594

hawkingrei opened this issue Aug 22, 2024 · 2 comments · Fixed by #55620
Assignees
Labels
component/ddl This issue is related to DDL of TiDB. component/test severity/major type/bug The issue is confirmed as a bug.

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)

     scheduler_test.go:207: 
        	Error Trace:	pkg/disttask/framework/scheduler/scheduler_test.go:207
        	            				pkg/disttask/framework/scheduler/scheduler_test.go:226
        	            				pkg/disttask/framework/scheduler/scheduler_test.go:351
        	Error:      	Not equal: 
        	            	expected: 2
        	            	actual  : 30001
        	Test:       	TestParallelErrStage 

4. What is your TiDB version? (Required)

@hawkingrei hawkingrei added the type/bug The issue is confirmed as a bug. label Aug 22, 2024
@hawkingrei hawkingrei changed the title flaky test flaky test TestParallelErrStage Aug 22, 2024
@tangenta
Copy link
Contributor

When full schema reload happens, the auto ID will jump because the allocators are reconstructed. #55229 enables schema cache by default and makes each testkit session switches to v1 with 30% probability. When the schema is reload, it must be a full reload.

As a result, the auto ID jump is expected.

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

Successfully merging a pull request may close this issue.

3 participants