]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: don't spawn multiple concurrent object sync for same object
authorYehuda Sadeh <yehuda@redhat.com>
Wed, 25 Nov 2015 04:20:35 +0000 (20:20 -0800)
committerYehuda Sadeh <yehuda@redhat.com>
Fri, 12 Feb 2016 00:13:39 +0000 (16:13 -0800)
commite08eb9c1345bf82b6354039753ebd9322c0b32da
tree4f5bef07a6b017d489ec2555fb332c9c439a0d50
parent36e5ded236cdd4f1c8a7c9060cdb41918f0a5bf5
rgw: don't spawn multiple concurrent object sync for same object

Either mark the current running operation to retry, or wait for it to finish
(if it's not doing the same operation).

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