]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rgw: data sync: handle preconfition failed error
authorYehuda Sadeh <yehuda@redhat.com>
Tue, 19 Nov 2019 22:44:25 +0000 (14:44 -0800)
committerYehuda Sadeh <yehuda@redhat.com>
Tue, 28 Jan 2020 18:20:39 +0000 (10:20 -0800)
commit33a95da1aebdc4753ecb7f9668c68f6baea2784d
tree18556c9dc62992344fbb94600647f8957c75aabd
parent7db0795409b438ebfd220bab314143f63f84de65
rgw: data sync: handle preconfition failed error

Handle precondition failed error. This would happen in case we cannot
sync the object due to either newer local changes, or if the policy
doesn't allow syncing the specific object. Handle this as success, but
log a message.

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