-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
input: chunk: fallback to filesystem storage and up/down new interfaces
If an input plugin tries to register some data and it already exceeded it memory buffer limit, this patch checks the plugin storage type, if is 'memory' the plugin is paused, otherwise if 'filesystem' is used, it will store the data ine the filesystem and put the data chunk 'down', meaning: keep a reference to this context of data but remove any mmap() and open file descriptor associated. Signed-off-by: Eduardo Silva <[email protected]>
- Loading branch information
Showing
2 changed files
with
102 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters