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

[fix] Use module uuid instead of tempfile #4253

Merged
merged 1 commit into from
Jun 4, 2024

Conversation

bruntib
Copy link
Contributor

@bruntib bruntib commented Jun 3, 2024

The problem with tempfile.mkstem() is that it opens the created file, and it must be closed through its file descriptor, otherwise some dangling .nfs files remain when CodeChecker is used in an NFS drive. For this reason we use uuid instead.

The problem with tempfile.mkstem() is that it opens the created file,
and it must be closed through its file descriptor, otherwise some
dangling .nfs files remain when CodeChecker is used in an NFS drive.
For this reason we use uuid instead.
@bruntib bruntib requested a review from cservakt June 3, 2024 20:56
@bruntib bruntib requested a review from vodorok as a code owner June 3, 2024 20:56
@bruntib bruntib added this to the release 6.24.0 milestone Jun 3, 2024
@bruntib bruntib added CLI 💻 Related to the command-line interface, such as the cmd, store, etc. commands bugfix 🔨 labels Jun 3, 2024
@cservakt cservakt merged commit 5e20cc1 into Ericsson:master Jun 4, 2024
7 of 8 checks passed
@bruntib bruntib deleted the tempfile_uuid branch June 4, 2024 21:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix 🔨 CLI 💻 Related to the command-line interface, such as the cmd, store, etc. commands
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants