]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: assert that we don't try to use an OSDMap > superblock.newest_map 8096/head
authorSage Weil <sage@redhat.com>
Mon, 14 Mar 2016 18:24:17 +0000 (14:24 -0400)
committerSage Weil <sage@redhat.com>
Thu, 17 Mar 2016 16:58:54 +0000 (12:58 -0400)
commit4e3cf59eacbe946c2728895ca713165bf1c54a32
tree177c57113fd407398e5a01aed9e2e6e6268b7a39
parentb839a06c1aba24ecf0780387a605192ff929f158
osd: assert that we don't try to use an OSDMap > superblock.newest_map

handle_osd_map now adds OSDMaps to the cache as it receives them
but before they are stable.  Ensure that we don't try to use them.

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