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

TiDB unexpected exit with "MANIFEST set current failed: open /tmp/tidb/tmp_ddl-4000/xxx/duplicates/temporary.000001.dbtmp: no such file or directory" #52475

Closed
lance6716 opened this issue Apr 10, 2024 · 2 comments · Fixed by #52503
Labels
affects-7.5 affects-8.1 component/ddl This issue is related to DDL of TiDB. fuzz/schrddl severity/major type/bug The issue is confirmed as a bug.

Comments

@lance6716
Copy link
Contributor

lance6716 commented Apr 10, 2024

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

check out to #52467 and run TestFirstLitSlowStart

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

not exit

3. What did you see instead (Required)

image

4. What is your TiDB version? (Required)

bug timeline:

1. ddl pick job 100
|\
| 2. job 100 start to create the lightning local backend. Now pebble DB passed the mkdir check
3. somehow ddl owner is resigned, the resign callback reset the runningJobs
4. ddl becomes owner again, and pick job 101, cleanup all duplicate directory which is less than 101
| 5. job 100 pebble DB writes the necessary files, found work direcctory is missing and call log.Fatal
@lance6716 lance6716 added the type/bug The issue is confirmed as a bug. label Apr 10, 2024
@ywqzzy
Copy link
Contributor

ywqzzy commented Apr 10, 2024

Could you show the timeline?

@lance6716
Copy link
Contributor Author

Could you show the timeline?

updated

ti-chi-bot bot pushed a commit that referenced this issue Apr 12, 2024
3AceShowHand pushed a commit to 3AceShowHand/tidb that referenced this issue Apr 16, 2024
ti-chi-bot pushed a commit to ti-chi-bot/tidb that referenced this issue Apr 26, 2024
@jebter jebter added the component/ddl This issue is related to DDL of TiDB. label Apr 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects-7.5 affects-8.1 component/ddl This issue is related to DDL of TiDB. fuzz/schrddl severity/major type/bug The issue is confirmed as a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants