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

bcftbx/JobRunner: SimpleJobRunner.list() should trap for 'missing' jobs #110

Merged
merged 1 commit into from Aug 8, 2019

Conversation

pjbriggs
Copy link
Member

@pjbriggs pjbriggs commented Aug 8, 2019

PR which addresses an intermittent bug in the SimpleJobRunner class, when trying to access info on a job which has been removed.

It's unclear what triggers the bug but I'm speculating that it's due to a race condition when the class is used in a threaded context (for example, within the simple_scheduler module from the auto_process_ngs package).

@pjbriggs pjbriggs added the bugfix label Aug 8, 2019
@pjbriggs pjbriggs merged commit d35979b into devel Aug 8, 2019
@pjbriggs pjbriggs deleted the SimpleJobRunner-trap-for-missing-job-in-list branch August 8, 2019 12:51
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 this pull request may close these issues.

None yet

1 participant