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

Filebeat: Fix leak in log harvester (#6797) #6829

Merged
merged 1 commit into from
Apr 13, 2018
Merged

Commits on Apr 13, 2018

  1. Filebeat: Fix leak in log harvester (elastic#6797)

    This patch reorganizes a little bit how the log harvester works, so that
    suboutlets are only created when the harvester is ready to use them
    (inside Run()), instead of being passed during constructor.
    
    This prevents a memory leak caused by some internal goroutines not
    stopping if the harvester Setup() fails, for example when files cannot
    be read.
    
    Fixes elastic#6797
    adriansr committed Apr 13, 2018
    Configuration menu
    Copy the full SHA
    6f236ea View commit details
    Browse the repository at this point in the history