]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: reset objv tracker on bucket recreation 1272/head
authorYehuda Sadeh <yehuda@inktank.com>
Wed, 19 Feb 2014 16:11:56 +0000 (08:11 -0800)
committerYehuda Sadeh <yehuda@inktank.com>
Wed, 19 Feb 2014 19:06:07 +0000 (11:06 -0800)
commit859ed33ed7f9a96f4783dfb3e130d5eb60c622dd
treeff1d5acf6e20b9db2b75125082cc126361fd2471
parent1ff0eefeb129770f7b5e11fa18c4465897db274a
rgw: reset objv tracker on bucket recreation

Fixes: #6951
If we cannot create a new bucket (as it already existed), we need to
read the old bucket's info. However, this was failing as we were holding
the objv tracker that we created for the bucket creation. We need to
clear it, as subsequent read using it will fail.

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
src/rgw/rgw_common.h
src/rgw/rgw_rados.cc