Skip to content
This repository has been archived by the owner on Mar 28, 2020. It is now read-only.

close s3 reader after saving snapshot #1976

Merged
merged 1 commit into from
Jul 6, 2018

Conversation

daniel-garcia
Copy link
Contributor

After uploading the snapshot, the backup operator performs a get
to ensure that the snapshot was actually saved. The problem is that
the resulting get request body is not closed. This causes a leak
of http connections.

fixes #1965

After uploading the snapshot, the backup operator performs a get
to ensure that the snapshot was actually saved. The problem is that
the resulting get request body is not closed. This causes a leak
of http connections.

fixes coreos#1965
@drewwells
Copy link
Contributor

Definitely need this, we're seeing memory leaks in backup operator

@fanminshi
Copy link
Contributor

lgtm thanks!

@fanminshi
Copy link
Contributor

@daniel-garcia one last thing, could you update the changelog with this fix https://github.com/coreos/etcd-operator/blob/master/CHANGELOG.md#fixed

@drewwells
Copy link
Contributor

@fanminshi #1977

@fanminshi fanminshi merged commit 9152f09 into coreos:master Jul 6, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

etcd backup operator TCP socket memory leak
3 participants