]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: bucket sync allows OP_ADD on versioned objects
authorCasey Bodley <cbodley@redhat.com>
Thu, 31 May 2018 18:13:40 +0000 (14:13 -0400)
committerNathan Cutler <ncutler@suse.com>
Wed, 12 Sep 2018 11:28:10 +0000 (13:28 +0200)
commitcf9b081487b3780d20be413f04f8a4c9195f39b2
tree93d4c8462507abb08599c180d410b6603a62003e
parent90fdffdae18c8d0509f923fc0d1996f10a529a28
rgw: bucket sync allows OP_ADD on versioned objects

operations like PutACL that only mutate object metadata do not
generate a link_olh entry, so they cannot be skipped. their bilog
entries don't have a versioned_epoch, so we skip the call to
set_olh() by passing an empty value to fetch_remote_obj()

Fixes: http://tracker.ceph.com/issues/24367
Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 7fb034ee5e98e7e991595c768a3a1da6c56f119c)

Conflicts:
src/rgw/rgw_data_sync.cc
- trivial resolution
src/rgw/rgw_data_sync.cc