Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix memory leaks on RunnerFactory and Heartbeat NPEs #11514

Closed
wants to merge 2 commits into from

Conversation

andrewvc
Copy link
Contributor

Takes over from #11165 . This fixes the reload logic to let heartbeat free resources during config checks by having a custom defined CheckConfig method. It also does not require filebeat and metricbeat to implement the same, which would be very complex.

@andrewvc andrewvc added bug Filebeat Filebeat libbeat Metricbeat Metricbeat Heartbeat Team:obs-ds-hosted-services Label for the Observability Hosted Services team labels Mar 28, 2019
@andrewvc andrewvc self-assigned this Mar 28, 2019
@andrewvc andrewvc requested review from ph, urso and ruflin March 28, 2019 16:59
@andrewvc andrewvc requested a review from a team as a code owner March 28, 2019 16:59
@elasticmachine
Copy link
Collaborator

Pinging @elastic/uptime

CheckConfig(config *common.Config) error
}

type CheckableRunnerFactory interface {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

exported type CheckableRunnerFactory should have comment or be unexported

@andrewvc andrewvc requested a review from a team as a code owner March 28, 2019 17:03
@andrewvc
Copy link
Contributor Author

Decided to favor #11514 instead.

@andrewvc andrewvc closed this Mar 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Filebeat Filebeat Heartbeat libbeat Metricbeat Metricbeat Team:obs-ds-hosted-services Label for the Observability Hosted Services team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants