-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Reset default worker to 1 if using non thread-safe filter #4130
Comments
We are going away from the multiline filter with @guyboertje's changes to the multiline codec, is this really necessary? We also did a major version bump from 1.5 to 2.0. Maybe improving the wording of the message and offer more guidance explaining the changes in the message would be sufficient. |
I am not sure we should necessarily "go away" - there certainly are and will be valid use cases for multiline as a filter? In any case we should definitely unify the code bases with the multiline codec or see if we can use @jsvd work on codec filters? |
I am +1 for merging the code base. Let assume we have valid use cases for it. But I am not sure if we should |
As a short term fix and for the "least surprise" principle I am +1 on having automatic fallback to 1 worker if a non thread-safe filter is used (and logging a warning that this is probably not the most efficient configuration). |
The problem with multi line filter and workers is once you have more than On Monday, November 2, 2015, Pier-Hugues Pellerin notifications@github.com
|
@jordansissel I think everyone understands the problem - the issue is more about automatically falling back to single worker or not by default if/when the multiline filter is in use (or any other non thread-safe filter for that matter). |
IMO, starting with 1 worker is better than not starting at all and then forcing the user to supply |
+1 On Monday, November 2, 2015, Suyog Rao notifications@github.com wrote:
|
@suyograo @colinsurprenant I am +1 with your proposition. |
CONSENSUS! :D just to make sure:
|
@colinsurprenant agreed |
This will require a small refactor |
Submitting PR today. |
+1 |
PR #4156 |
updates requested by code review changes requested by colin: make workers override from -w arg do not set workers unless user actually specified it via cmdline fix defaults printing add describe block to improve test output readability Closes elastic#4130
updates requested by code review changes requested by colin: make workers override from -w arg do not set workers unless user actually specified it via cmdline fix defaults printing add describe block to improve test output readability Closes #4130
updates requested by code review changes requested by colin: make workers override from -w arg do not set workers unless user actually specified it via cmdline fix defaults printing add describe block to improve test output readability Closes #4130
See background here: https://discuss.elastic.co/t/multiline-issue/33349
LS will fail to startup in 2.0 when using ML filter. It should instead revert to old behavior of setting workers to 1 and start the pipeline.
Using the config specified in the above discuss link
The text was updated successfully, but these errors were encountered: