]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd: warn if reencoding and OSDMap with fewer features than the mon
authorSage Weil <sage@redhat.com>
Sat, 16 Aug 2014 00:36:14 +0000 (17:36 -0700)
committerSage Weil <sage@redhat.com>
Mon, 10 Nov 2014 22:20:24 +0000 (14:20 -0800)
commit110c093cf3fe30da5fc8ec5aef64615851f8ce67
treeb468ddb33f1749c6c0ba200dd135da5236887143
parent2f92d8d9b56e6d40ccc01edce38623727d4cd6b5
osd: warn if reencoding and OSDMap with fewer features than the mon

It is very dangerous to reencode and OSDMap with fewer features than the
mon intended as we may be introducing a different variation of the same
OSDMap epoch into the wild.  Add a build warning here as well as this is
a potentially serious problem.

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