Skip to content

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.

3 participants