Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
engine: added retry cleanup when a task cannot be retried
Due to how flb_task_users_release determines if it can drop the involved chunk and how entries in the retries list are handled by flb_task_retry_create we need to explicitly remove the retry entries related to the failed task and plugin instance before calling flb_task_users_dec to ensure that chunks linked to tasks that had at least one retry but are deemed not retriable afterwards can be properly disposed of. Signed-off-by: Leonardo Alminana <[email protected]>
- Loading branch information