]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: fix segfault in OpsLogRados::log when realm is reloaded 45074/head
authorCory Snyder <csnyder@iland.com>
Thu, 3 Feb 2022 19:48:05 +0000 (14:48 -0500)
committerCasey Bodley <cbodley@redhat.com>
Thu, 17 Feb 2022 14:46:55 +0000 (09:46 -0500)
commit1db4dded1b9afd6abec7883f20999055c78fe331
tree12130f7ab5f5563564fb17256668ca4dd8f15459
parentc401387dcc5977cc863b8ca52dd4462c3d1ed76d
rgw: fix segfault in OpsLogRados::log when realm is reloaded

We weren't previously handling the deallocation of the store when
a realm was reloaded. Now passing a const reference to the pointer.

Fixes: https://tracker.ceph.com/issues/54130
Signed-off-by: Cory Snyder <csnyder@iland.com>
(cherry picked from commit 0713f65355586b2f6ceeb6bbce8763158847e5ed)
src/rgw/rgw_log.cc
src/rgw/rgw_log.h