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

in_emitter: Fix single record chunks and respect mem_buf_limit pause #8473

Merged
merged 6 commits into from
Apr 12, 2024

Commits on Feb 12, 2024

  1. in_emitter: Fix to prevent single record chunks and do pause on mem_b…

    …uf_limit
    
    The current code creates a situation, where only one record per chunk
     is created. In case of a non-existing ring-buffer, the old mechanism is used.
    
    Also the in_emitter plugin continued to accept records even after the
    set emitter_mem_buf_limit was reached. This commit implements a
    check if the plugin was paused and returns accordingly.
    
    Signed-off-by: Richard Treu <richard.treu@sap.com>
    drbugfinder-work committed Feb 12, 2024
    Configuration menu
    Copy the full SHA
    feb4243 View commit details
    Browse the repository at this point in the history

Commits on Apr 11, 2024

  1. filter_multiline: Pause source input plugins on filter pause

    This commit will pause the inputs (sending to multiline)
    to not loose any in-flight records.
    
    Signed-off-by: Richard Treu <richard.treu@sap.com>
    drbugfinder-work committed Apr 11, 2024
    Configuration menu
    Copy the full SHA
    37826b6 View commit details
    Browse the repository at this point in the history
  2. filter_rewrite_tag: Pause source input plugins on filter pause

    This commit will pause the inputs (sending to rewrite_tag)
    to not loose any in-flight records.
    
    Signed-off-by: Richard Treu <richard.treu@sap.com>
    drbugfinder-work committed Apr 11, 2024
    Configuration menu
    Copy the full SHA
    2087601 View commit details
    Browse the repository at this point in the history
  3. in_emitter: Pause source input plugins on in_emitter pause

    This commit will pause all known inputs (sending to multiline)
    to not loose any in-flight records. in_emitter will keep track
    of all sending input plugins and actively pause/resume them
    in case in_emitter is paused/resumed.
    
    Signed-off-by: Richard Treu <richard.treu@sap.com>
    drbugfinder-work committed Apr 11, 2024
    Configuration menu
    Copy the full SHA
    64214ad View commit details
    Browse the repository at this point in the history
  4. flb_input: Add missing input resume message

    This commit will add a resume message, when a paused
    input plugin is resumed.
    
    Signed-off-by: Richard Treu <richard.treu@sap.com>
    drbugfinder-work committed Apr 11, 2024
    Configuration menu
    Copy the full SHA
    f6137ec View commit details
    Browse the repository at this point in the history
  5. tests: filter_multiline: Add test for in_emitter pause by using multi…

    …line
    
    This commit will add a test for pause functionality of in_emitter. The test
    uses a small emitter buffer size, so the in_emitter will definitely be paused.
    
    Signed-off-by: Richard Treu <richard.treu@sap.com>
    drbugfinder-work committed Apr 11, 2024
    Configuration menu
    Copy the full SHA
    3162d0c View commit details
    Browse the repository at this point in the history