]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
OSD: tolerate holes in stored maps
authorSamuel Just <sam.just@inktank.com>
Mon, 22 Jul 2013 23:00:07 +0000 (16:00 -0700)
committerSamuel Just <sam.just@inktank.com>
Fri, 26 Jul 2013 03:37:49 +0000 (20:37 -0700)
commit6951d2345a5d837c3b14103bd4d8f5ee4407c937
tree99b053230259852ef8979b091f2a3dd5a506b8db
parentfbf74d987d22dcca832a8afd358e0d76d4442f4c
OSD: tolerate holes in stored maps

We may have holes in stored maps during init_splits_between
and advance_pg.  In either case, we should simply skip the
missing maps.

Fixes: #5677
Signed-off-by: Samuel Just <sam.just@inktank.com>
Reviewed-by: Sage Weil <sage@inktank.com>
src/osd/OSD.cc
src/osd/OSD.h
src/osd/PG.cc
src/osd/osd_types.h