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

prevents multiple queries from being run at the same time. #70

Merged
merged 1 commit into from
Oct 22, 2015

Conversation

talevy
Copy link
Contributor

@talevy talevy commented Oct 22, 2015

Currently, if a query is still running while the scheduler
triggers a new query to be executed, the new query will be launched.
This means that two queries will be running at the same time, this can
cause consistency issues. By setting the max_work_threads to 1, all
newly triggered queries will be added to a work queue within Rufus and
launched immedietly proceeding the completion of the existing pending
job.

Currently, if a query is still running while the scheduler
triggers a new query to be executed, the new query will be launched.
This means that two queries will be running at the same time, this can
cause consistency issues. By setting the max_work_threads to `1`, all
newly triggered queries will be added to a work queue within Rufus and
launched immedietly proceeding the completion of the existing pending
job.
@suyograo
Copy link
Contributor

LGTM

talevy added a commit that referenced this pull request Oct 22, 2015
prevents multiple queries from being run at the same time.
@talevy talevy merged commit d844be8 into logstash-plugins:master Oct 22, 2015
@talevy talevy deleted the fix/paralleljobs branch October 22, 2015 16:23
@ppf2 ppf2 mentioned this pull request Oct 22, 2015
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