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

Cherry-pick #21754 to 7.10: Disable writes sync in persistent cache #21789

Merged
merged 1 commit into from
Oct 14, 2020

Commits on Oct 14, 2020

  1. Disable writes sync in persistent cache (elastic#21754)

    With default configuration, every write is synced to disk. For the
    persistent cache, Beats not need to guarantee that everything is on disk,
    as the data can be recovered from the source endpoints, but the database
    was not being properly closed, so there could happen that most of the
    recent data was lost if the beat is stopped.
    Now, the processors can close their resources, so the database is
    properly closed in an normal shutdown, so we can go on without syncs on
    writes, what gives a much better performance.
    
    (cherry picked from commit 85b95ee)
    jsoriano committed Oct 14, 2020
    Configuration menu
    Copy the full SHA
    425198a View commit details
    Browse the repository at this point in the history