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

file processing race condition #1505

Closed
JeffreyThiessen opened this issue Dec 13, 2023 · 0 comments · Fixed by #1506
Closed

file processing race condition #1505

JeffreyThiessen opened this issue Dec 13, 2023 · 0 comments · Fixed by #1506
Assignees
Labels

Comments

@JeffreyThiessen
Copy link
Member

Describe the bug

Briefly describe the issue you encountered.
When sequencing files are uploaded slowly, sometimes the file processor chain will try to unzip the file before it has been fully uploaded.
This results in a failed FastQC job. FastQC jobs cannot be manually triggered so the user must reupload the file.

Steps to reproduce the problem

What were you doing when you encountered the problem?

  1. upload a file very slowly
  2. file processor chain starts via SequencingObjectProcessingService
  3. gunzip fails due to "corrupt trailer"

Expected behaviour

What did you expect to happen?
SequencingObjectProcessingService.findFilesToProcess should not pick up files that are a part of sequencing runs that are not complete.

Additional context

Additional information to help solve the problem. Test files, screenshots, IRIDA version information can go here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant