Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
input_chunk: skip overlimit check in mem mode (#8199)
*input_chunk: storage type when overlimit When an output plugin is configured to use `storage.total_limit_size` while the input plugin uses memory storage mode, it would previously continue calculating and eventually pass an empty pointer to the storage context in the function that releases space. This PR adds a validationg in the overlimit route check that will cause the check to be skipped, ensuring that the rest of the space freeing routines are never executed. Signed-off-by: Braydon Kains <[email protected]> * input_chunk: skip overlimit check in mem mode This commit uses a different implementation than the previous; instead of checking in each output plugin and logging, this will just skip the check entirely when not in FS mode. The downside is that there is no log indicating that the memory plugin is going to an output with `storage.total_limit_size` where it has no effect, but this is a reasonable expectation to configure for so that would just be adding extra work just to be able to do some debug logging. Signed-off-by: Braydon Kains <[email protected]> --------- Signed-off-by: Braydon Kains <[email protected]>
- Loading branch information