]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: fix crash when creating new zone on init
authorYehuda Sadeh <yehuda@inktank.com>
Thu, 22 Aug 2013 17:53:12 +0000 (10:53 -0700)
committerSage Weil <sage@inktank.com>
Fri, 23 Aug 2013 22:37:18 +0000 (15:37 -0700)
commita4cca31c82bf0e84272e01eb1b3188dfdb5b5615
tree3e8c405ed7a1991a8e72be35f231d54a12c2cc7f
parent4cf6996803ef66f2b6083f73593259d45e2740a3
rgw: fix crash when creating new zone on init

Moving the watch/notify init before the zone init,
as we might need to send a notification.

Reviewed-by: Sage Weil <sage@inktank.com>
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
(cherry picked from commit 3d55534268de7124d29bd365ea65da8d2f63e501)
src/rgw/rgw_rados.cc