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

Add random string in path generation #249

Merged
merged 1 commit into from
Jan 27, 2025

Conversation

logan-keede
Copy link
Contributor

We encountered an error while running sqllogictest in datafusion.
apache/datafusion#12752
apache/datafusion#14254

This happens when multiple .slt file include from a single parent file while running on multiple threads.
This result in creation of multiple temp file(for parent file) and subsequent failure as these temp files are removed by one thread and then other tries to remove/access it too.

A simple solution is to add a random string to outfilename as done in this PR.

@logan-keede
Copy link
Contributor Author

@xxchan can this get a review please?

@xxchan xxchan merged commit b80af30 into risinglightdb:main Jan 27, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants