]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rgw: limit entries in remove_olh_pending_entries()
authorCasey Bodley <cbodley@redhat.com>
Fri, 5 Apr 2019 13:26:05 +0000 (09:26 -0400)
committerCasey Bodley <cbodley@redhat.com>
Fri, 5 Apr 2019 13:26:07 +0000 (09:26 -0400)
commit3805ea635a5f28656072b2cf5cdc9b5bf53b5e97
tree4ec376a8d7cfe338b90006b39dc2af96e3407caf
parent01679f44d8f7098485bb2d239beae49ff1bbac57
rgw: limit entries in remove_olh_pending_entries()

If there are too many entries to send in a single osd op, the osd rejects
the request with EINVAL. This error happens in follow_olh(), which means
that requests against the object logical head (requests with no version
id) can't be resolved to the current object version. In multisite, this
also causes data sync to get stuck in retries

Fixes: http://tracker.ceph.com/issues/39118
Signed-off-by: Casey Bodley <cbodley@redhat.com>
src/rgw/rgw_rados.cc