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

[7.17](backport #39392) [Bug] fix high IO after sudden filebeat stop (#35893) #39795

Merged
merged 10 commits into from
Jun 24, 2024

Commits on Jun 4, 2024

  1. Fix high IO after sudden filebeat stop (#35893) (#39392)

    In case of corrupted log file (which has good chances to happen in case
    of sudden unclean system shutdown), we set a flag which causes us to
    checkpoint immediately, but never do anything else besides that. This
    causes Filebeat to just checkpoint on each log operation (therefore
    causing a high IO load on the server and also causing Filebeat to fall
    behind).
    
    This change resets the logInvalid flag after a successful checkpointing.
    
    Co-authored-by: Tiago Queiroz <[email protected]>
    (cherry picked from commit 217f5a6)
    
    # Conflicts:
    #	libbeat/statestore/backend/memlog/diskstore.go
    emmanueltouzery authored and mergify[bot] committed Jun 4, 2024
    Configuration menu
    Copy the full SHA
    0fdbb22 View commit details
    Browse the repository at this point in the history

Commits on Jun 7, 2024

  1. Configuration menu
    Copy the full SHA
    429d341 View commit details
    Browse the repository at this point in the history
  2. Fix lint warnings

    Fix lint warning without changing behaviour, all errors that were not
    handled are only logged.
    belimawr committed Jun 7, 2024
    Configuration menu
    Copy the full SHA
    38119b8 View commit details
    Browse the repository at this point in the history
  3. fix lint warning

    belimawr committed Jun 7, 2024
    Configuration menu
    Copy the full SHA
    20ad844 View commit details
    Browse the repository at this point in the history

Commits on Jun 10, 2024

  1. Configuration menu
    Copy the full SHA
    6e7dafd View commit details
    Browse the repository at this point in the history

Commits on Jun 13, 2024

  1. Configuration menu
    Copy the full SHA
    c151f10 View commit details
    Browse the repository at this point in the history
  2. Update deprecated Kubernets API and improve error reporting

    This commit improves error reporting in Go integration tests, when a
    module fails, its name and error are collected and printed at the end.
    
    The deprecated `batch/v1beta1` is replaced by `batch/v1` in Kubernetes
    manifests.
    belimawr committed Jun 13, 2024
    Configuration menu
    Copy the full SHA
    0cf9cd1 View commit details
    Browse the repository at this point in the history

Commits on Jun 17, 2024

  1. Configuration menu
    Copy the full SHA
    bbb1c21 View commit details
    Browse the repository at this point in the history

Commits on Jun 20, 2024

  1. Configuration menu
    Copy the full SHA
    94650a9 View commit details
    Browse the repository at this point in the history

Commits on Jun 24, 2024

  1. Configuration menu
    Copy the full SHA
    a089708 View commit details
    Browse the repository at this point in the history