]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw/rgw_rados: do not omap_getvals with (u64)-1 max
authorSage Weil <sage@redhat.com>
Mon, 21 Nov 2016 23:37:39 +0000 (18:37 -0500)
committerYehuda Sadeh <yehuda@redhat.com>
Tue, 29 Nov 2016 18:56:47 +0000 (10:56 -0800)
commit7cd123ec0dd5951628e4f8ddd4e044a0fbb82f2f
treea4539658a59f6fef256fc7ff90d589ca8c2dc11e
parentf4ecdc55afec606bae6077bfc4768cedf056c175
rgw/rgw_rados: do not omap_getvals with (u64)-1 max

Fixes: http://tracker.ceph.com/issues/17985
This will make the OSD fall over if the object is big
and the OSD doesn't impose it's own fail-safe limit.

Signed-off-by: Sage Weil <sage@redhat.com>
src/rgw/rgw_rados.cc