Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Disable writes sync in persistent cache (#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.
- Loading branch information