]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
OSD: allow build_incremental_map_msg to fail on lookups
authorGreg Farnum <greg@inktank.com>
Tue, 25 Mar 2014 22:32:30 +0000 (15:32 -0700)
committerGreg Farnum <greg@inktank.com>
Mon, 5 May 2014 22:29:19 +0000 (15:29 -0700)
commit9fba69a11aa940ed36339bb24b05cb92165db516
treea399a4267915db81e2d9daa752a7ac86c9daec6c
parent0ffdeab900d1e3f3e689b0a5861394b5434c3ec0
OSD: allow build_incremental_map_msg to fail on lookups

Since we're now building incremental map messages out-of-band with doing
other map updates now, we need to tolerate lookup failures at the bottom
end. Do so by returning a NULL message in that case.
Handle that in send_incremental_map by looping until we get a
message back -- if we fail on the first attempt, we'll get
the OSDSuperblock again and deal with it.

Signed-off-by: Greg Farnum <greg@inktank.com>
src/osd/OSD.cc