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

Skip fuser/lsof check when uploader is marked as immediate #1909

Merged
merged 1 commit into from
Mar 6, 2019

Conversation

ssalinas
Copy link
Member

One of the slower/expensive parts of the uploader right now when there are many files is checking if the files are still in use. The immediate flag is used to signify that the file is ready for upload and done being written to. If this flag is set, skip the lsof/fuser check. SingularityExecutor uses this flag on clean shutdown, so this should alleviate the need for the check in the majority of cases

@pschoenfelder
Copy link
Contributor

🚢

@ssalinas ssalinas merged commit 8b2cc5e into master Mar 6, 2019
@ssalinas ssalinas deleted the uploader_efficiency branch March 6, 2019 15:22
@ssalinas ssalinas added this to the 0.23.0 milestone Jun 7, 2019
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.

2 participants