]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: generate new tag for object when setting object attrs
authorYehuda Sadeh <yehuda@redhat.com>
Fri, 27 Mar 2015 23:32:48 +0000 (16:32 -0700)
committerYehuda Sadeh <yehuda@redhat.com>
Mon, 13 Apr 2015 23:15:56 +0000 (16:15 -0700)
commitedc0627a1dbeb66ea2f5f177f6ceca64559ff3d8
treea5d32bcbd4638c23ff406b868c3ec9345082de8c
parent5bb33dc3b87d98cda4e349e213980e72d088eb9d
rgw: generate new tag for object when setting object attrs

Fixes: #11256
Backport: firefly, hammer

Beforehand we were reusing the object's tag, which is problematic as
this tag is used for bucket index updates, and we might be clobbering a
racing update (like object removal).

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