Skip to content

Cherry-pick #11263 to 7.0: Stop waiting for signals on closed outleters#11487

Merged
exekias merged 2 commits intoelastic:7.0from
jsoriano:backport_11263_7.0
Apr 2, 2019
Merged

Cherry-pick #11263 to 7.0: Stop waiting for signals on closed outleters#11487
exekias merged 2 commits intoelastic:7.0from
jsoriano:backport_11263_7.0

Conversation

@jsoriano
Copy link
Copy Markdown
Member

Cherry-pick of PR #11263 to 7.0 branch. Original message:

Outleters start a goroutine to handle the finalization of filebeat. If the
outleter is closed by other means the goroutine will be kept running
even if it has nothing to do, leaking goroutines.

Stop this goroutine if the outleter is closed.

@jsoriano jsoriano requested a review from a team as a code owner March 27, 2019 12:54
Outleters start a goroutine to handle the finalization of filebeat. If the
outleter is closed by other means the goroutine will be kept running
even if it has nothing to do, leaking goroutines.

Stop this goroutine if the outleter is closed.

(cherry picked from commit 57c9891)
@jsoriano jsoriano force-pushed the backport_11263_7.0 branch from 5c7a3ab to fd8f949 Compare March 27, 2019 12:56
@ruflin ruflin requested a review from kvch March 27, 2019 13:29
@exekias
Copy link
Copy Markdown
Contributor

exekias commented Apr 2, 2019

merging as @jsoriano is not around right now

@exekias exekias merged commit b9cf73a into elastic:7.0 Apr 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants