-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
ml: clear last recently used parser to match next parser(#5524) #5564
Conversation
2f01d60
to
ee3205a
Compare
CI is not stable. |
Hello, When this change will be release ? |
Multiline unit test is failing:
|
ee3205a
to
5b0d37e
Compare
Signed-off-by: Takahiro Yamashita <[email protected]>
Signed-off-by: Takahiro Yamashita <[email protected]>
5b0d37e
to
a5bfb28
Compare
/* | ||
* Clear last recently used parser to match new parser. | ||
* Do not flush last_stream_id since it should continue to parsing. | ||
*/ | ||
lru_parser = NULL; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note: I removed flb_ml_flush_parser_instance
.
Since last_stream_id
may be parsing.
@edsiper CI passed. I modified below when
|
@edsiper Ping. |
thanks! |
#5524
Currently, multiline doesn't update a last recently used parser
lru_parser
.It causes second+ stream can't be parsed correctly.
This patch is to fix it and add test cases.
Enter
[N/A]
in the box, if an item is not applicable to your change.Testing
Before we can approve your change; please submit the following in a comment:
If this is a change to packaging of containers or native binaries then please confirm it works for all targets.
Documentation
Backporting
Configuration
#5524 (comment)
Debug log
Valgrind output
Fluent Bit is licensed under Apache 2.0, by submitting this pull request I understand that this code will be released under the terms of that license.