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

jewel: rgw: leak fixes #9022

Merged
merged 13 commits into from May 10, 2016
Merged

jewel: rgw: leak fixes #9022

merged 13 commits into from May 10, 2016

Conversation

yehudasa
Copy link
Member

@yehudasa yehudasa commented May 9, 2016

yehudasa added 13 commits May 9, 2016 16:02
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
(cherry picked from commit 4442d1c)
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
(cherry picked from commit cb797d4)
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
(cherry picked from commit a3a3f4f)
init can be called more than once, ended up with leaking some resources

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
(cherry picked from commit 14cd44e)
was missing destructor, constructor was broken

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
(cherry picked from commit 95162a4)
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
(cherry picked from commit d1ec31d)
destructor calls stop(), but it can be also called explicitly, if caller
wants to ensure requests are not being handled anymore.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
(cherry picked from commit bdce81a)
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
(cherry picked from commit 98433e5)
pe->store might change when reconfiguring

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
(cherry picked from commit 2ca38da)
this is past calling req_data->finish(), client can be destroyed by now

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
(cherry picked from commit 7ada4df)
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
(cherry picked from commit 1c876eb)
call sync_env.init() even if we're initalized in RGWRemoteDataLog::init()

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
(cherry picked from commit 3d8442e)
No need to wait for req_state to complete anymore.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
(cherry picked from commit 91f61d6)

Conflicts:
	src/rgw/rgw_http_client.cc
@yehudasa yehudasa self-assigned this May 9, 2016
@yehudasa yehudasa added this to the jewel milestone May 9, 2016
@ghost ghost assigned ghost and unassigned yehudasa May 10, 2016
@ghost ghost changed the title rgw: leak fixes jewel: rgw: leak fixes May 10, 2016
@ghost ghost mentioned this pull request May 10, 2016
ghost pushed a commit that referenced this pull request May 10, 2016
Reviewed-by: Loic Dachary <ldachary@redhat.com>
ghost pushed a commit that referenced this pull request May 10, 2016
Reviewed-by: Loic Dachary <ldachary@redhat.com>
@ghost
Copy link

ghost commented May 10, 2016

test this please

@yehudasa yehudasa merged commit 8bbe2a9 into ceph:jewel May 10, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant