]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd: verify our OSDMap encoding based on crc
authorSage Weil <sage@redhat.com>
Mon, 27 Oct 2014 21:17:26 +0000 (14:17 -0700)
committerSage Weil <sage@redhat.com>
Fri, 12 Dec 2014 19:08:40 +0000 (11:08 -0800)
commitd8986980922d3fe1021868e156c4f6ffd8dc80d0
tree0feacac6e9a15f6380511a763552937d680f6823
parent716f90f31e7301ddd05f45fe4ab88061d11dca89
osd: verify our OSDMap encoding based on crc

When we generate a full map and can't replicate teh expected CRC, request
the full map from the mon.

Note that we should do everything we can to avoid doing this:

 - upgrade OSDs before mons
 - do not encode things into OSDMaps that OSDs can't replicate

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