]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: limit entries in remove_olh_pending_entries() 27664/head
authorCasey Bodley <cbodley@redhat.com>
Fri, 5 Apr 2019 13:26:05 +0000 (09:26 -0400)
committerPrashant D <pdhange@redhat.com>
Thu, 18 Apr 2019 00:42:24 +0000 (20:42 -0400)
commit4f813d2f18ea045d0f4ff893ae44f4db89e5d5b8
treea9178d814d71e791edc1043aa0056d88c7af6b92
parentd947e804dd316c89c28d25948947927fa290e227
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>
(cherry picked from commit 3805ea635a5f28656072b2cf5cdc9b5bf53b5e97)
src/rgw/rgw_rados.cc