]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: change the bucket reshard lock to exclusive-ephemeral
authorJ. Eric Ivancich <ivancich@redhat.com>
Fri, 12 Oct 2018 14:24:32 +0000 (10:24 -0400)
committerAbhishek Lekshmanan <abhishek@suse.com>
Thu, 29 Nov 2018 12:03:59 +0000 (13:03 +0100)
commita1875f0dac359159ae399a3a94fe94473995cd53
tree762e9573b9aaa5f87deba39d1533dfa7e622d30c
parent998a9d2e275c5ad917687ab8eb8a71c092e06502
rgw: change the bucket reshard lock to exclusive-ephemeral

The bucket reshard lock was simply an exclusive lock that existed on
an object solely for the purpose of representing the lock. This is now
changed to exclusvie-ephemeral lock, so as not to leave these objects
behind.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
(cherry picked from commit bc0a5ff95247b41b5a8336a8c4ed83c4315c1966)
src/rgw/rgw_reshard.cc