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

Unexpected error no such file executing sql. #18960

Closed
wshwsh12 opened this issue Aug 4, 2020 · 0 comments · Fixed by #18970
Closed

Unexpected error no such file executing sql. #18960

wshwsh12 opened this issue Aug 4, 2020 · 0 comments · Fixed by #18970
Assignees
Labels
type/bug The issue is confirmed as a bug.

Comments

@wshwsh12
Copy link
Contributor

wshwsh12 commented Aug 4, 2020

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

  1. Start a tidb instance.
  2. rm temp-storage-path. (Simulate systemd-tempfiles clean.)
  3. Execute a SQL that trigger spill action.
  4. Get an error open ..... no such file.

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

Execute successfully if tidb can create the directory again.

3. What did you see instead (Required)

return error.

4. Affected version (Required)

4.0

5. Root Cause Analysis

Os remove the file/directory in /tmp in period.

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

Successfully merging a pull request may close this issue.

1 participant