]> git.apps.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)
committerNathan Cutler <ncutler@suse.com>
Fri, 9 Dec 2016 14:20:38 +0000 (15:20 +0100)
commit38ab892201ce9ca95010e5f33277be2b0213e96d
tree3c9818d5a0bab91daa19c99ed70619e26719fc2d
parent12d67814912514bb34ba61ceb45a744299d65ff2
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>
(cherry picked from commit 7cd123ec0dd5951628e4f8ddd4e044a0fbb82f2f)
src/rgw/rgw_rados.cc