]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: don't fail if lost race when setting acls 11286/head
authorYehuda Sadeh <yehuda@redhat.com>
Fri, 30 Sep 2016 23:13:00 +0000 (16:13 -0700)
committerYehuda Sadeh <yehuda@redhat.com>
Fri, 30 Sep 2016 23:13:00 +0000 (16:13 -0700)
commit6e9a915b565923081f609048072b8d75716a74ea
tree010afa0ea5ed7dd34902d4468c1033a3e38a68a3
parentc72bcd667e3717466ba29f0192c127830ac99add
rgw: don't fail if lost race when setting acls

Fixes: http://tracker.ceph.com/issues/16930
When concurrently setting acls on object/bucket, we could lose in a race.
Instead of retry, just return success (same effect as if we won and then
other writer overwrote us).

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